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
Build::Distribution::Install, Build::Distribution::ValidateApp, Config::OrderFilesIOS, Config::SnapshotsIOS, Fix::ExportedSymbols, Fix::MinifyStrings, Fix::StripBinarySymbols, Integrate::Fastlane, OrderFiles::Download, OrderFiles::ValidateLinkmaps, OrderFiles::ValidateXcodeProject, Reaper, Snapshots::ValidateApp, Upload::Build, Upload::Snapshots
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 |