buildParserSymbols function

ArgParser buildParserSymbols()

Implementation

ArgParser buildParserSymbols() {
  return ArgParser()
    ..addFlag(
      'help',
      abbr: 'h',
      negatable: false,
      help: 'Print $kSymbolsCommand usage information.',
    )
    ..addOption(
      'app-id',
      help: 'Raygun\'s application ID',
      mandatory: true,
    )
    ..addOption(
      'token',
      help: 'Raygun\'s access token',
      mandatory: true,
    )
    ..addOption(
      'path',
      help: 'Path to symbols file, used in upload',
    )
    ..addOption(
      'version',
      help: 'App version, used in upload',
    )
    ..addOption(
      'id',
      help: 'Symbol ID, used in delete',
    )
    ..addCommand(
      'upload',
    )
    ..addCommand(
      'list',
    )
    ..addCommand(
      'delete',
    );
}