OpenCommand constructor

OpenCommand()

Implementation

OpenCommand() {
  argParser
    ..addOption(
      'editor',
      abbr: 'e',
      help: 'The editor to use.',
      allowed: ['code', 'antigravity'],
      defaultsTo: 'code',
    )
    ..addFlag(
      'no-ui',
      negatable: false,
      help: 'Plain-text headless output (no ANSI). Auto-enabled when stdout is not a TTY.',
    );
}