Class: ECSHelper::Command::ExportImages

Inherits:
Base
  • Object
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

Constructor Details

This class inherits a constructor from ECSHelper::Command::Base

Instance Method Details

#cmd_option_parserObject



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

Returns:

  • (Boolean)


17
18
19
# File 'lib/ecs_helper/command/export_images.rb', line 17

def printable?
  true
end

#requiredObject



13
14
15
# File 'lib/ecs_helper/command/export_images.rb', line 13

def required
  []
end

#runObject



21
22
23
# File 'lib/ecs_helper/command/export_images.rb', line 21

def run
  export_images
end