AcceptCommand constructor

AcceptCommand()

Implementation

AcceptCommand() {
  argParser
    ..addOption(
      'root',
      help:
          'Project root (the directory containing dialect/). '
          'Defaults to the current directory.',
      valueHelp: 'path',
    )
    ..addOption(
      'namespace',
      abbr: 'n',
      help:
          'Act on every source key in this namespace, instead of (or as '
          'well as) the keys named on the command line.',
      valueHelp: 'name',
    )
    ..addOption(
      'locale',
      abbr: 'l',
      help:
          'Act on one target locale. Default: every target locale that '
          'carries the key.',
      valueHelp: 'locale',
    );
}