Module: ChefLicensing::CLIFlags::Thor

Defined in:
lib/chef-licensing/cli_flags/thor.rb

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



10
11
12
13
14
15
16
17
18
# File 'lib/chef-licensing/cli_flags/thor.rb', line 10

def self.included(klass)
  # TBD need to confirm the name of the option
  klass.class_option :chef_license_key,
    type: :string,
    desc: "Add a new Chef License Key to the license store. Ignores duplicates (not applicable to local licensing service)"
  klass.class_option :chef_license_server,
    type: :string,
    desc: "Add a custom Chef License Server URL. Overrides the global license server URL."
end