UploadCommand constructor

UploadCommand()

Implementation

UploadCommand() {
  argParser
    ..addOption(
      'flavor',
      abbr: 'f',
      help: 'Flavor to upload (e.g. stage, qa, prod).',
    )
    ..addOption(
      'file',
      help: 'Path to the APK file. Overrides config apkPath.',
    )
    ..addOption('version', help: 'Version string. Overrides pubspec.yaml.')
    ..addOption(
      'build-number',
      help: 'Build number. Overrides pubspec.yaml +buildNumber.',
    )
    ..addFlag(
      'dry-run',
      help: 'Print what would be uploaded without uploading.',
    )
    ..addFlag('ci', help: 'CI mode: prefix log lines, disable progress bar.');
}