Class: Aidp::ShellExecutor

Inherits:
Object
  • Object
show all
Defined in:
lib/aidp/pr_worktree_manager.rb

Overview

Simple shell command executor wrapper for testability

Instance Method Summary collapse

Instance Method Details

#run(command) ⇒ Object



8
9
10
# File 'lib/aidp/pr_worktree_manager.rb', line 8

def run(command)
  `#{command}`
end

#success?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/aidp/pr_worktree_manager.rb', line 12

def success?
  $?.success?
end