Class: Knife::Clc::Async::ConfigOptions

Inherits:
Object
  • Object
show all
Defined in:
lib/knife-clc/async/config_options.rb

Class Method Summary collapse

Class Method Details

.attach(command_class) ⇒ Object



5
6
7
8
9
10
11
12
13
14
# File 'lib/knife-clc/async/config_options.rb', line 5

def self.attach(command_class)
  command_class.class_eval do
    option :clc_wait,
      :long => '--wait',
      :description => 'Wait for operation completion',
      :boolean => true,
      :default => false,
      :on => :head
  end
end