ExecuteCommand constructor

ExecuteCommand({
  1. required Logger logger,
})

Implementation

ExecuteCommand({required super.logger}) {
  _stateManager = StateManager(logger: logger);

  argParser.addFlag(
    'manual',
    abbr: 'm',
    help: 'Manual mode: Show tasks without generating code',
    negatable: false,
  );

  argParser.addFlag(
    'auto',
    abbr: 'a',
    help: 'Automatic mode: Generate and apply code (default)',
    negatable: false,
  );
}