PublishIosAppStoreCommand constructor

PublishIosAppStoreCommand()

Implementation

PublishIosAppStoreCommand() {
  argParser
    ..addOption(argIosAppleUsername, mandatory: true, help: 'aka `apple_id`')
    ..addOption(argIosApiKeyId, mandatory: true)
    ..addOption(argIosApiIssuerId, mandatory: true)
    ..addOption(argIosApiPrivateKeyBase64, mandatory: true)
    ..addOption(
      argIosContentProviderId,
      mandatory: true,
      help: 'aka `itc_team_id`, see: '
          'https://appstoreconnect.apple.com/WebObjects/iTunesConnect.woa/ra/user/detail',
    )
    ..addOption(argIosTeamId, mandatory: true, help: 'aka `team_id`')
    ..addFlag(argIosTeamEnterprise, help: 'aka `in_house`')
    ..addOption(argIosDistributionPrivateKeyBase64, mandatory: true)
    ..addOption(argIosDistributionCertificateBase64, mandatory: true)
    ..addOption(argIosUpdateProvisioning,
        help:
            'fetch all provisioning profiles and try to match them with the bundle ids')
    ..addOption(argXcodeScheme,
        help: 'Scheme in XCode to build the project (useful for flavors). '
            'By default it will use the "Runner" scheme.');
}