Class: Abide::CLI::ComplyCommand

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

Constant Summary collapse

CMD_NAME =
'comply'
CMD_SHORT =
'Commands related to Puppet Comply'
CMD_LONG =
'Namespace for commands related to Puppet Comply'

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

#initializeComplyCommand

Returns a new instance of ComplyCommand.



12
13
14
15
16
# File 'lib/abide_dev_utils/cli/comply.rb', line 12

def initialize
  super(CMD_NAME, CMD_SHORT, CMD_LONG, takes_commands: true)
  add_command(ComplyReportCommand.new)
  add_command(ComplyCompareReportCommand.new)
end