Method: Fastlane::Actions::UpdateUrbanAirshipConfigurationAction.available_options

Defined in:
fastlane/lib/fastlane/actions/update_urban_airship_configuration.rb

.available_optionsObject



31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# File 'fastlane/lib/fastlane/actions/update_urban_airship_configuration.rb', line 31

def self.available_options
  [
    FastlaneCore::ConfigItem.new(key: :plist_path,
                                 env_name: "URBAN_AIRSHIP_PLIST_PATH",
                                 description: "Path to Urban Airship configuration Plist",
                                 verify_block: proc do |value|
                                   UI.user_error!("Could not find Urban Airship plist file") unless File.exist?(value)
                                 end),
    FastlaneCore::ConfigItem.new(key: :development_app_key,
                                 optional: true,
                                 env_name: "URBAN_AIRSHIP_DEVELOPMENT_APP_KEY",
                                 sensitive: true,
                                 description: "The development app key"),
    FastlaneCore::ConfigItem.new(key: :development_app_secret,
                                 optional: true,
                                 env_name: "URBAN_AIRSHIP_DEVELOPMENT_APP_SECRET",
                                 sensitive: true,
                                 description: "The development app secret"),
    FastlaneCore::ConfigItem.new(key: :production_app_key,
                                 optional: true,
                                 env_name: "URBAN_AIRSHIP_PRODUCTION_APP_KEY",
                                 sensitive: true,
                                 description: "The production app key"),
    FastlaneCore::ConfigItem.new(key: :production_app_secret,
                                 optional: true,
                                 env_name: "URBAN_AIRSHIP_PRODUCTION_APP_SECRET",
                                 sensitive: true,
                                 description: "The production app secret"),
    FastlaneCore::ConfigItem.new(key: :detect_provisioning_mode,
                                 env_name: "URBAN_AIRSHIP_DETECT_PROVISIONING_MODE",
                                 type: Boolean,
                                 optional: true,
                                 description: "Automatically detect provisioning mode")
  ]
end