#!/usr/bin/env ruby lib = File.expand_path('../../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'percheron' require 'percheron/commands' require 'percheron/metastore' begin Percheron::Commands::Main.run rescue => e puts Percheron::OhDear.new(e).generate exit(1) end