#!/usr/bin/env ruby

# hit Control + C to stop
Signal.trap("INT") do
  warn "  cancelled by user (INT)"
  exit 1
end

path = __FILE__
while File.symlink?(path)
  path = File.expand_path(File.readlink(path), File.dirname(path))
end
$:.unshift(File.join(File.dirname(File.expand_path(path)), '..', 'lib'))

require 'inch'

Inch::CLI::CommandParser.run(*ARGV)