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.74.1 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.74.0 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.74.0.beta.20180108010004 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.74.0.beta.20180107010004 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.74.0.beta.20180106010004 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.73.0 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.73.0.beta.20180105010003 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.73.0.beta.20180104010004 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.73.0.beta.20180103010003 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.72.0 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.72.0.beta.20180102010003 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.72.0.beta.20180101010003 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.72.0.beta.20171231010003 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.71.1 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.72.0.beta.20171230010003 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.72.0.beta.20171229010003 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.72.0.beta.20171228010004 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.71.0 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.71.0.beta.20171227010004 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
fastlane-2.71.0.beta.20171226010004 fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb