MigrateCommand constructor
MigrateCommand()
Creates the parser.
Implementation
MigrateCommand() {
argParser
..addOption(
'prefix',
abbr: 'p',
help: 'Project prefix path. Defaults to the current directory.',
defaultsTo: '.',
)
..addFlag(
'dry-run',
help: 'Print the would-be YAML to stdout; do not write any files.',
negatable: false,
)
..addFlag(
'in-place',
help:
'After writing the consolidated file, delete the legacy '
'originals. The .bak copies are retained.',
negatable: false,
)
..addFlag(
'force',
help: 'Overwrite an existing flutter_launcher_icons_flavors.yaml.',
negatable: false,
);
}