Class: Describe

Inherits:
Command show all
Defined in:
lib/maws/commands/describe.rb

Instance Attribute Summary

Attributes inherited from Command

#connection, #maws

Instance Method Summary collapse

Methods inherited from Command

#add_generic_options, #add_specific_options, #initialize, #instances, #process_options, #verify_configs, #verify_options

Constructor Details

This class inherits a constructor from Command

Instance Method Details

#descriptionObject



5
6
7
# File 'lib/maws/commands/describe.rb', line 5

def description
  "describe - prints all available AWS information for specified instances"
end

#run!Object



9
10
11
12
13
# File 'lib/maws/commands/describe.rb', line 9

def run!
  instances.specified.each do |i|
    i.display.pretty_details
  end
end