Class: A2::Command::NodeMgmt
- Inherits:
-
CmdParse::Command
- Object
- CmdParse::Command
- A2::Command::NodeMgmt
- Defined in:
- lib/a2/commands/node_mgmt.rb
Instance Method Summary collapse
-
#initialize ⇒ NodeMgmt
constructor
A new instance of NodeMgmt.
Constructor Details
#initialize ⇒ NodeMgmt
Returns a new instance of NodeMgmt.
6 7 8 9 10 11 12 13 14 15 |
# File 'lib/a2/commands/node_mgmt.rb', line 6 def initialize super('nodemgmt') short_desc('Node management commands') long_desc('Node management commands') add_command(A2::Subcommand::NodeMgmt::Get.new) add_command(A2::Subcommand::NodeMgmt::Delete.new) add_command(A2::Subcommand::NodeMgmt::BulkDeleteById.new) add_command(A2::Subcommand::NodeMgmt::BulkDeleteByFilter.new) add_command(A2::Subcommand::NodeMgmt::Search.new) end |