Class: Cumulus::SecurityGroups::Commands

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

Class Method Summary collapse

Methods inherited from Common::Commands

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

Class Method Details



15
16
17
18
19
20
# File 'lib/security/Commands.rb', line 15

def self.banner_message
  format_message [
    "security-groups: Manage EC2 Security Groups",
    "\tDiff and sync EC2 security group configuration with AWS.",
  ]
end

.managerObject



10
11
12
13
# File 'lib/security/Commands.rb', line 10

def self.manager
  require "security/manager/Manager"
  Cumulus::SecurityGroups::Manager.new
end

.manager_nameObject



6
7
8
# File 'lib/security/Commands.rb', line 6

def self.manager_name
  "security-groups"
end