Class: A2::Command::Infra

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

Instance Method Summary collapse

Constructor Details

#initializeInfra

Returns a new instance of Infra.



6
7
8
9
10
11
12
13
14
15
16
17
# File 'lib/a2/commands/infra.rb', line 6

def initialize
  super('infra')
  short_desc('Chef Infra config management commands')
  long_desc('Chef Infra config management commands')
  add_command(A2::Subcommand::Infra::ListAllCheckedInNodes.new)
  add_command(A2::Subcommand::Infra::ListMissingNodesCount.new)
  add_command(A2::Subcommand::Infra::ListNodeRuns.new)
  add_command(A2::Subcommand::Infra::ListNodeStatusCounts.new)
  add_command(A2::Subcommand::Infra::ListOrganizations.new)
  add_command(A2::Subcommand::Infra::ShowAttributes.new)
  add_command(A2::Subcommand::Infra::ShowNodeRun.new)
end