# File lib/amqp_utils/command.rb, line 7 def run(args = ARGV) command = new(args) command.process_options begin command.validate rescue RuntimeError => e Trollop::die(e.message) end command.go end