Class: Cumulus::AutoScaling::Commands

Inherits:
Common::Commands show all
Defined in:
lib/autoscaling/Commands.rb

Class Method Summary collapse

Methods inherited from Common::Commands

command_details, execute, format_message, help_message, manager_name, parse, usage_message, valid_options, verify

Class Method Details



6
7
8
9
10
11
# File 'lib/autoscaling/Commands.rb', line 6

def self.banner_message
  format_message [
    "autoscaling: Manage AutoScaling groups.",
    "\tCompiles AutoScaling groups, scaling policies, and alarms that are defined in configuration files and syncs the resulting AutoScaling groups with AWS.",
  ]
end

.managerObject



13
14
15
16
# File 'lib/autoscaling/Commands.rb', line 13

def self.manager
  require "autoscaling/manager/Manager"
  Cumulus::AutoScaling::Manager.new
end