Module: ChefLicensing::CLIFlags::MixlibCLI

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

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



12
13
14
15
16
17
18
19
20
21
22
23
# File 'lib/chef-licensing/cli_flags/mixlib_cli.rb', line 12

def self.included(klass)
  # TBD need to confirm the name of the option
  klass.option :chef_license_key,
    long: "--chef-license-key KEY",
    description: "Add a new Chef License Key to the license store. Ignores duplicates (not applicable to local licensing service)",
    required: false

  klass.option :chef_license_server,
    long: "--chef-license-server URL",
    description: "Add a custom Chef License Server URL. Overrides the global license server URL.",
    required: false
end