Skip to main content

run_command

Function run_command 

Source
pub fn run_command(
    verbose: bool,
    spec: &Path,
    skip_review: bool,
    worktree: bool,
    no_worktree: bool,
    self_test: bool,
) -> Result<()>
Expand description

Run implementation from a spec file.

Parses the spec file and runs the agent loop to implement each user story sequentially.

§Arguments

  • verbose - If true, show full Claude output
  • spec - Path to the spec file (JSON or Markdown)
  • skip_review - If true, skip the review loop
  • worktree - If true, enable worktree mode (overrides config)
  • no_worktree - If true, disable worktree mode (overrides config)
  • self_test - If true, run a self-test with hardcoded spec (ignores spec argument)

§Returns

  • Ok(()) on successful completion
  • Err(Autom8Error) if implementation fails