class Fastlane::SunnyProject::Options

Public Class Methods

append_option(option) click to toggle source

This is match specific, as users can append storage specific options

# File lib/fastlane/plugin/sunny_project/helper/plugin_options.rb, line 8
def self.append_option(option)
  self.available_options # to ensure we created the initial `@available_options` array
  self.available_options.merge(option)
end
available_options() click to toggle source
# File lib/fastlane/plugin/sunny_project/helper/plugin_options.rb, line 13
def self.available_options
  [
    FastlaneCore::ConfigItem.new(key: :sunny_plugins,
                                 env_name: "SUNNY_PLUGINS",
                                 description: "The plugins",
                                 type: Hash,
                                 optional: true,),
    FastlaneCore::ConfigItem.new(key: :firebase_app_id,
                                 env_name: "SUNNY_FIREBASE_APP_ID",
                                 description: "Firebase app id",
                                 type: String,
                                 optional: true,),
    FastlaneCore::ConfigItem.new(key: :firebase_cli_path,
                                 env_name: "SUNNY_FIREBASE_CLI_PATH",
                                 description: "Firebase cli path",
                                 type: String,
                                 optional: true,),
    FastlaneCore::ConfigItem.new(key: :sunny_plugin_folder,
                                 env_name: "SUNNY_PLUGIN_FOLDER",
                                 description: "Folder that contains the packages",
                                 type: String,
                                 optional: false,
                                 default_value: '../plugin'),
    # value should be 'git' or 'local'
    FastlaneCore::ConfigItem.new(key: :sunny_local_mode,
                                 env_name: "SUNNY_LOCAL_MODE",
                                 description: "Whether the project uses local checked out packages",
                                 type: String,
                                 optional: true,
                                 default_value: "git"),

  ]
end