Method: Config#initialize
- Defined in:
- lib/core/config.rb
#initialize(args, options, required_options) ⇒ Config
Returns a new instance of Config.
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/core/config.rb', line 14 def initialize(args, , ) @args = args = = Shell.verbose_mode([:verbose]) trace_mode = [:trace] return unless trace_mode ControlplaneApiDirect.trace = trace_mode Shell.warn("Trace mode is enabled, this will print sensitive information to the console.") end |