Class: Cumulus::SQS::Commands
Class Method Summary
collapse
execute, format_message, help_message, manager_name, parse, usage_message, verify
Class Method Details
.banner_message ⇒ Object
6
7
8
9
10
11
|
# File 'lib/sqs/Commands.rb', line 6
def self.banner_message
format_message [
"SQS: Manage SQS",
"\tDiff and sync SQS configuration with AWS.",
]
end
|
.command_details ⇒ Object
13
14
15
16
17
18
19
20
21
|
# File 'lib/sqs/Commands.rb', line 13
def self.command_details
format_message [
["diff", "print out differences between local configuration and AWS (supplying the name of the queue will diff only that queue)"],
["list", "list the locally defined queues"],
["urls", "list the url for each locally defined queue"],
["sync", "sync local queue definitions with AWS (supplying the name of the queue will sync only that queue)"],
["migrate", "migrate AWS configuration to Cumulus"],
]
end
|
.manager ⇒ Object
23
24
25
26
|
# File 'lib/sqs/Commands.rb', line 23
def self.manager
require "sqs/manager/Manager"
Cumulus::SQS::Manager.new
end
|
.valid_options ⇒ Object
28
29
30
|
# File 'lib/sqs/Commands.rb', line 28
def self.valid_options
[["diff", "list", "migrate", "sync", "urls"]]
end
|