#!/usr/bin/env ruby
#
# CLI Control for ProjectRazor
# Format will be 'project_razor [module namespace] [module args{}]'
#

# We first add our Lib path to the load path. This is for non-gem ease of use
lib_path = File.dirname(File.expand_path(__FILE__)).sub(/\/bin$/,"/lib")
$LOAD_PATH.unshift(lib_path)

require 'rubygems' if RUBY_VERSION < '1.9'
require 'project_razor/cli'

exit ProjectRazor::CLI.new.run(*ARGV)
