Class: ECSHelper::Command::ExportImages
- Inherits:
-
Base
- Object
- Base
- ECSHelper::Command::ExportImages
show all
- Defined in:
- lib/ecs_helper/command/export_images.rb
Instance Attribute Summary
Attributes inherited from Base
#client, #helper, #option_parser, #options, #type
Instance Method Summary
collapse
Methods inherited from Base
#check_bin, #initialize, #validate
Methods included from Logging
#console, #error, #log
Instance Method Details
#cmd_option_parser ⇒ Object
5
6
7
8
9
10
11
|
# File 'lib/ecs_helper/command/export_images.rb', line 5
def cmd_option_parser
options = {}
parser = ::OptionParser.new do |opts|
opts.banner = "Usage: ecs_helper export_images"
end
[parser, options]
end
|
#printable? ⇒ Boolean
17
18
19
|
# File 'lib/ecs_helper/command/export_images.rb', line 17
def printable?
true
end
|
#required ⇒ Object
13
14
15
|
# File 'lib/ecs_helper/command/export_images.rb', line 13
def required
[]
end
|
#run ⇒ Object
21
22
23
|
# File 'lib/ecs_helper/command/export_images.rb', line 21
def run
export_images
end
|