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.65.0.beta.20171111010004 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.65.0.beta.20171110010003 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.65.0.beta.20171109010003 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.65.0.beta.20171108010003 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.65.0.beta.20171107010003 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.64.0 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.64.0.beta.20171106010003 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.64.0.beta.20171105010003 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.64.0.beta.20171104010004 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.64.0.beta.20171103010004 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.64.0.beta.20171102010003 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.64.0.beta.20171101010004 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.63.0 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.63.0.beta.20171031010003 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.63.0.beta.20171030010003 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.63.0.beta.20171029010003 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.63.0.beta.20171028010003 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.63.0.beta.20171027010003 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.63.0.beta.20171026010003 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.63.0.beta.20171025010003 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb