Method: ConfCtl::Cli::Command#initialize
- Defined in:
- lib/confctl/cli/command.rb
#initialize(global_opts, opts, args) ⇒ Command
Returns a new instance of Command.
30 31 32 33 34 35 36 |
# File 'lib/confctl/cli/command.rb', line 30 def initialize(global_opts, opts, args) @gopts = global_opts @opts = opts @args = args @use_color = determine_color @use_pager = determine_pager end |