Skip to main content

default_command

Function default_command 

Source
pub fn default_command(verbose: bool) -> Result<()>
Expand description

Default command when running autom8 with no arguments.

§Workflow

  1. Check if the project is initialized. If not, prompt to initialize.
  2. Check for existing state indicating work in progress.
  3. If state exists, prompt user to resume or start fresh.
  4. If no state, proceed to spec creation flow.

§Arguments

  • verbose - If true, show full Claude output during spec creation

§Returns

  • Ok(()) on success
  • Err(Autom8Error) if any step fails