Class: A2::Command::Infra
- Inherits:
-
CmdParse::Command
- Object
- CmdParse::Command
- A2::Command::Infra
- Defined in:
- lib/a2/commands/infra.rb
Instance Method Summary collapse
-
#initialize ⇒ Infra
constructor
A new instance of Infra.
Constructor Details
#initialize ⇒ Infra
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 |