#!/usr/bin/env ruby $:.unshift(File.expand_path(File.dirname(__FILE__) + "/../lib")) require 'engineyard-dnsimple' require 'engineyard-dnsimple/cli' begin EngineYard::DNSimple::CLI.start rescue EY::Error => e EY.ui.print_exception(e) exit(1) rescue Interrupt => e puts EY.ui.print_exception(e) EY.ui.say("Quitting...") exit(1) end