5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# File 'lib/knife-clc/base/config_options.rb', line 5
def self.attach(command_class)
command_class.class_eval do
option :clc_username,
:long => '--username NAME',
:description => 'Name of the user to access CLC API',
:on => :head
option :clc_password,
:long => '--password PASSWORD',
:description => 'Password for CLC user account',
:on => :head
option :clc_endpoint,
:long => '--endpoint URL',
:description => 'Alternative CLC API URL',
:on => :head
end
end
|