StartCommand constructor

StartCommand({
  1. required Logger logger,
})

Implementation

StartCommand({required super.logger}) {
  argParser
    ..addOption(
      'workers',
      abbr: 'w',
      help: 'Number of worker agents to spawn (legacy mode).',
      defaultsTo: '2',
    )
    ..addOption(
      'workflow',
      help: 'Path to the WORKFLOW.md file. Defaults to ./WORKFLOW.md.',
    )
    ..addFlag(
      'manual',
      abbr: 'm',
      help: 'Manual mode: Show task assignments without generating code.',
      negatable: false,
    )
    ..addFlag(
      'legacy',
      help:
          'Force the legacy convoy/PLAN.md orchestrator even when '
          'WORKFLOW.md is present.',
      negatable: false,
    );
}