Class: Fastlane::CrashlyticsBetaCommandLineHandler
- Inherits:
-
Object
- Object
- Fastlane::CrashlyticsBetaCommandLineHandler
- Defined in:
- lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
Class Method Summary collapse
Class Method Details
.apply_options(command) ⇒ Object
16 17 18 19 20 21 22 23 24 |
# File 'lib/fastlane/setup/crashlytics_beta_command_line_handler.rb', line 16 def self.(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 |
.info_from_options(options) ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/fastlane/setup/crashlytics_beta_command_line_handler.rb', line 3 def self.() beta_info = CrashlyticsBetaInfo.new beta_info.crashlytics_path = .crashlytics_path beta_info.api_key = .api_key beta_info.build_secret = .build_secret beta_info.emails = .emails beta_info.groups = .groups beta_info.schemes = [.scheme] if .scheme beta_info.export_method = .export_method beta_info end |