AddFeatureCommand constructor

AddFeatureCommand()

Implementation

AddFeatureCommand() {
  argParser
    ..addOption(
      'project-dir',
      help: 'Flutter project directory. Defaults to the current directory.',
    )
    ..addOption(
      'languages',
      help: 'Comma-separated locale codes. Defaults to detected i18n files.',
    )
    ..addFlag(
      'run-slang',
      defaultsTo: true,
      help: 'Run "dart run slang" after creating i18n files.',
    )
    ..addFlag(
      'force',
      abbr: 'f',
      negatable: false,
      help: 'Overwrite the feature files if they already exist.',
    );
}