Method: AMI::Commands::List#run
- Defined in:
- lib/ami/commands/list.rb
#run(argv) ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/ami/commands/list.rb', line 5 def run(argv) AMI::Core.load_amis AMI::Core.all_amis.each do |name, ami| puts "#{name}" end end |