Class: Abide::CLI::CemCommand

Inherits:
AbideCommand
  • Object
show all
Defined in:
lib/abide_dev_utils/cli/cem.rb

Constant Summary collapse

CMD_NAME =
'cem'
CMD_SHORT =
'Commands related to Puppet CEM'
CMD_LONG =
'Namespace for commands related to Puppet CEM'

Constants included from AbideDevUtils::Config

AbideDevUtils::Config::DEFAULT_PATH

Instance Method Summary collapse

Methods included from AbideDevUtils::Config

config_section, #config_section, fetch, #fetch, to_h, #to_h

Constructor Details

#initializeCemCommand

Returns a new instance of CemCommand.



16
17
18
19
20
21
# File 'lib/abide_dev_utils/cli/cem.rb', line 16

def initialize
  super(CMD_NAME, CMD_SHORT, CMD_LONG, takes_commands: true)
  add_command(CemGenerate.new)
  add_command(CemUpdateConfig.new)
  add_command(CemValidate.new)
end