Class: Fastlane::MatchImport::Options

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

Class Method Summary collapse

Class Method Details

.available_optionsObject



15
16
17
18
19
20
21
22
23
# File 'lib/fastlane/plugin/match_import/options.rb', line 15

def self.available_options
  all = Match::Options.available_options

  exclude_match_options.each do |key|
    (i = all.find_index { |item| item.key == key }) && all.delete_at(i)
  end

  return all
end

.exclude_match_optionsObject



8
9
10
11
12
13
# File 'lib/fastlane/plugin/match_import/options.rb', line 8

def self.exclude_match_options
  # [:output_path, :additional_cert_types, :readonly, :generate_apple_certs, :skip_provisioning_profiles, :force, :force_for_new_devices, :skip_confirmation, :template_name]
  # Don't know how to exclude unused options and don't get error like:
  # Could not find option 'type' in the list of available options
  []
end