Class: Abide::CLI::ComplyCommand
- Inherits:
-
AbideCommand
- Object
- CmdParse::Command
- AbideCommand
- Abide::CLI::ComplyCommand
- 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
-
#initialize ⇒ ComplyCommand
constructor
A new instance of ComplyCommand.
Methods included from AbideDevUtils::Config
config_section, #config_section, fetch, #fetch, to_h, #to_h
Constructor Details
#initialize ⇒ ComplyCommand
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 |