MigrateCommand constructor

MigrateCommand()

Implementation

MigrateCommand() {
  argParser
    ..addFlag(
      'backup',
      defaultsTo: true,
      help: 'Create a backup before migration',
    )
    ..addFlag(
      'dry-run',
      defaultsTo: false,
      help: 'Show what would be migrated without making changes',
    )
    ..addFlag(
      'no-ui',
      negatable: false,
      help: 'Plain-text headless output (no ANSI). Auto-enabled when stdout is not a TTY. Skips interactive confirmation.',
    );
}