Class: Fastlane::Options::RuStore

Inherits:
Object
  • Object
show all
Defined in:
lib/fastlane/plugin/sq_ci_tools/options/ru_store.rb

Class Method Summary collapse

Class Method Details

.optionsObject



10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# File 'lib/fastlane/plugin/sq_ci_tools/options/ru_store.rb', line 10

def self.options
  [
    FastlaneCore::ConfigItem.new(
      key: :token,
      env_name: 'SQ_CI_RU_STORE_TOKEN',
      description: 'Token  for RuStore\'s API',
      optional: false,
      type: String,
      default_value: Fastlane::Actions.lane_context[Fastlane::Actions::SharedValues::SQ_CI_RU_STORE_TOKEN],
      default_value_dynamic: true,
    ),
    FastlaneCore::ConfigItem.new(
      key: :package_name,
      env_name: 'SQ_CI_RU_STORE_PACKAGE_NAME',
      description: 'Package name of RuStore application',
      optional: false,
      type: String,
      default_value: CredentialsManager::AppfileConfig.try_fetch_value(:package_name),
      default_value_dynamic: true,
    )
  ]
end