# File lib/aeolus_cli/command/list_command.rb, line 38 def builds begin headers = ActiveSupport::OrderedHash.new headers[:id] = "ID" headers[:image] = "Image" collection = @options[:id].nil? ? Aeolus::CLI::Build.all : Aeolus::CLI::Build.find(:all, :from => Aeolus::CLI::Base.site.path + "/images/" + @options[:id] + "/builds.xml") print_collection(collection, headers) quit(0) rescue => e handle_exception(e) end end