buildParserSourcemap function

ArgParser buildParserSourcemap()

Implementation

ArgParser buildParserSourcemap() {
  return ArgParser()
    ..addFlag(
      'help',
      abbr: 'h',
      negatable: false,
      help: 'Print sourcemap usage information.',
    )
    ..addOption(
      'app-id',
      help: 'Raygun\'s application ID',
      mandatory: true,
    )
    ..addOption(
      'token',
      help: 'Raygun\'s access token',
      mandatory: true,
    )
    ..addOption(
      'platform',
      abbr: 'p',
      help: 'Specify project platform. Supported: [flutter, node]',
    )
    ..addOption(
      'uri',
      help: 'Application URI (e.g. https://localhost:3000/main.dart.js)',
    )
    ..addOption(
      'base-uri',
      help: 'Base application URI (e.g. https://localhost:3000/)',
    )
    ..addOption(
      'input-map',
      abbr: 'i',
      help: 'Single sourcemap file',
    )
    ..addOption(
      'src',
      abbr: 's',
      help: 'Source files',
    );
}