ImportCommand constructor

ImportCommand()

Creates a new import command instance.

Implementation

ImportCommand() {
  argParser
    ..addOption(
      'file',
      abbr: 'f',
      help: 'JSON file path with collection map structure',
      mandatory: true,
    )
    ..addFlag(
      'merge',
      help: 'Merge with existing documents instead of replacing',
    )
    ..addFlag(
      'apply',
      help: 'Apply changes (without this flag, runs in dry-run mode)',
    )
    ..addFlag(
      'verbose',
      abbr: 'v',
      help: 'Show detailed output',
    );
}