Class: Abide::CLI::XccdfCommand
- Inherits:
-
CmdParse::Command
- Object
- CmdParse::Command
- Abide::CLI::XccdfCommand
- Defined in:
- lib/abide_dev_utils/cli/xccdf.rb
Constant Summary collapse
- CMD_NAME =
'xccdf'
- CMD_SHORT =
'Commands related to XCCDF files'
- CMD_LONG =
'Namespace for commands related to XCCDF files'
Instance Method Summary collapse
-
#initialize ⇒ XccdfCommand
constructor
A new instance of XccdfCommand.
Constructor Details
#initialize ⇒ XccdfCommand
Returns a new instance of XccdfCommand.
12 13 14 15 16 17 18 19 20 |
# File 'lib/abide_dev_utils/cli/xccdf.rb', line 12 def initialize super(CMD_NAME, takes_commands: true) short_desc(CMD_SHORT) long_desc(CMD_LONG) add_command(CmdParse::HelpCommand.new, default: true) add_command(XccdfToHieraCommand.new) add_command(XccdfDiffCommand.new) add_command(XccdfGenMapCommand.new) end |