GenerateCommand constructor

GenerateCommand()

Implementation

GenerateCommand() {
  argParser
    ..addFlag(
      'no-ui',
      negatable: false,
      help: 'Plain-text headless output (no ANSI). Auto-enabled when stdout is not a TTY.',
    )
    ..addFlag(
      'fail-on-warn',
      negatable: false,
      help: 'Exit with code 2 if build_runner emits any [WARNING] lines.',
    )
    ..addFlag(
      'verbose',
      abbr: 'v',
      negatable: false,
      help: 'Show per-phase timing breakdown.',
    );
}