class Knife::Clc::Base::ConfigOptions

Public Class Methods

attach(command_class) click to toggle source
# 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