Class: EmergeCLI::Commands::GlobalOptions
- Inherits:
-
Dry::CLI::Command
- Object
- Dry::CLI::Command
- EmergeCLI::Commands::GlobalOptions
- Defined in:
- lib/commands/global_options.rb
Direct Known Subclasses
Config::OrderFilesIOS, Config::SnapshotsIOS, DownloadOrderFiles, Integrate::Fastlane, Reaper, Snapshots::ValidateApp, Upload::Snapshots, ValidateLinkmaps
Instance Method Summary collapse
Instance Method Details
#before(args) ⇒ Object
9 10 11 12 13 14 |
# File 'lib/commands/global_options.rb', line 9 def before(args) log_level = args[:debug] ? ::Logger::DEBUG : ::Logger::INFO EmergeCLI::Logger.configure(log_level) EmergeCLI::Utils::VersionCheck.new.check_version end |