buildParser method

  1. @override
ArgParser buildParser()
override

Creates the argument parser used by this command.

Implementation

@override
ArgParser buildParser() {
  return ArgParser()
    ..addOption(
      'platform',
      abbr: 'p',
      allowed: AppPlatform.mobile,
      defaultsTo: AppPlatform.android,
      help: 'Target platform',
    )
    ..addOption(
      'notes',
      abbr: 'n',
      help: 'Release notes',
    )
    ..addOption(
      'group',
      abbr: 'g',
      help: 'Firebase tester group',
    );
}