kook/bin/kook
2014-01-03 10:39:14 +01:00

33 lines
549 B
Ruby
Executable file

#!/usr/bin/env ruby
# vim: set syntax=ruby:
#require 'bundler/setup'
require 'yaml'
require 'singleton'
require 'pathname'
require 'bundler/setup'
require 'pry'
require 'colorize'
require 'pp'
DATA_DIR = File.expand_path(
File.join(File.dirname(Pathname.new(__FILE__).realpath),'..')
)
VERSION = "0.3"
$:.insert 0, File.join(DATA_DIR, 'lib')
require 'thor'
require 'kook'
begin
Kook::CLI::Main.start(ARGV)
rescue Exception => exception
STDERR.puts "ERROR(#{exception.class}) : #{exception}"
STDERR.puts exception.backtrace
exit 1
end