# File lib/amqp_utils/command.rb, line 7 def run(args = ARGV) command = new(args) command.process_options command.validate begin command.go rescue => e STDERR.puts e.message STDERR.puts e.backtrace.join("\n") if command.options.verbose exit 1 end end