lib/pilot/options.rb in pilot-0.3.0 vs lib/pilot/options.rb in pilot-1.0.0

- old
+ new

@@ -8,10 +8,16 @@ FastlaneCore::ConfigItem.new(key: :username, short_option: "-u", env_name: "PILOT_USERNAME", description: "Your Apple ID Username", default_value: CredentialsManager::AppfileConfig.try_fetch_value(:apple_id)), + FastlaneCore::ConfigItem.new(key: :app_identifier, + short_option: "-a", + env_name: "PILOT_APP_IDENTIFIER", + description: "The bundle identifier of the app to upload or manage testers (optional)", + optional: true, + default_value: ENV["TESTFLIGHT_APP_IDENTITIFER"] || CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier)), FastlaneCore::ConfigItem.new(key: :ipa, short_option: "-i", optional: true, env_name: "PILOT_IPA", description: "Path to the ipa file to upload", @@ -29,15 +35,9 @@ short_option: "-s", env_name: "PILOT_SKIP_SUBMISSION", description: "Skip the distributing action of pilot and only upload the ipa file", is_string: false, default_value: false), - FastlaneCore::ConfigItem.new(key: :app_identifier, - short_option: "-a", - env_name: "PILOT_APP_IDENTIFIER", - description: "The bundle identifier of the app to upload or manage testers (optional)", - optional: true, - default_value: ENV["TESTFLIGHT_APP_IDENTITIFER"] || CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier)), FastlaneCore::ConfigItem.new(key: :apple_id, short_option: "-p", env_name: "PILOT_APPLE_ID", description: "The unique App ID provided by iTunes Connect", optional: true,