CheckCommand constructor

CheckCommand()

Implementation

CheckCommand() {
  argParser
    ..addFlag(
      'strict',
      negatable: false,
      help: 'Promote warnings to errors (CI mode).',
    )
    ..addFlag(
      'strict-length',
      negatable: false,
      help:
          'Also promote length-ratio warnings to errors. Independent of '
          '--strict because length-ratio is noisier than other heuristics.',
    )
    ..addFlag(
      'fix',
      negatable: false,
      help:
          'Normalize ARB files in place: sort keys, hoist @@locale, '
          'place each @key block after its key, strip @key blocks from '
          'translation files, drop orphan @key blocks.',
    );
}