buildParser function

ArgParser buildParser()

Builds the argument parser for the 'run' command.

The 'run' command is a general-purpose parent command for utility subcommands.

Implementation

ArgParser buildParser() {
  return ArgParser()
    ..addFlag(
      'help',
      abbr: 'h',
      negatable: false,
      help: 'Print help for the run command.',
    )
    ..addCommand(
      'flutter-test-coverage-workaround',
      workaround.buildParser(),
    );
}