Class: A2::Command::NodeMgmt

Inherits:
CmdParse::Command
  • Object
show all
Defined in:
lib/a2/commands/node_mgmt.rb

Instance Method Summary collapse

Constructor Details

#initializeNodeMgmt

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