Sha256: b6834202f18a1aa78d5d50a2d14affca957f11192688c3574d2151c4bd488cd3

Contents?: true

Size: 1.12 KB

Versions: 476

Compression:

Stored size: 1.12 KB

Contents

module Fastlane
  class CrashlyticsBetaCommandLineHandler
    def self.info_from_options(options)
      beta_info = CrashlyticsBetaInfo.new
      beta_info.crashlytics_path = options.crashlytics_path
      beta_info.api_key = options.api_key
      beta_info.build_secret = options.build_secret
      beta_info.emails = options.emails
      beta_info.groups = options.groups
      beta_info.schemes = [options.scheme] if options.scheme
      beta_info.export_method = options.export_method

      beta_info
    end

    def self.apply_options(command)
      command.option '--crashlytics_path STRING', String, 'Path to Crashlytics.framework'
      command.option '--api_key STRING', String, 'Crashlytics API key'
      command.option '--build_secret STRING', String, 'Crashlytics build secret'
      command.option '--emails ARRAY', Array, 'List of emails to invite'
      command.option '--groups ARRAY', Array, 'List of group aliases to invite'
      command.option '--scheme STRING', String, 'Xcode scheme'
      command.option '--export_method STRING', String, 'Provisioning profile type (ad-hoc, enterprise, development)'
    end
  end
end

Version data entries

476 entries across 476 versions & 1 rubygems

Version Path
fastlane-2.67.0.beta.20171126010003 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.67.0.beta.20171125010004 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.67.0.beta.20171124010004 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.67.0.beta.20171123010003 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.67.0.beta.20171122010004 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.66.2 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.66.1 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.67.0.beta.20171121010003 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.66.0 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.65.0 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.65.0.beta.20171120010003 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.65.0.beta.20171119010004 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.65.0.beta.20171118010003 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.65.0.beta.20171117010003 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.65.0.beta.20171116010004 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.65.0.beta.20171115010004 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.65.0.beta.20171114010003 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.64.1 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.65.0.beta.20171113010004 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.65.0.beta.20171112010003 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb