#!/usr/bin/env ruby require 'emberprecompile' if !ARGV[0].nil? command = ARGV[0].upcase else command = "COMPILE" end case command when "WATCH" puts Emberprecompile::Watcher.watch when "COMPILE" puts Emberprecompile::Compiler.compile when "SETUP" AppSettings = Emberprecompile::Config.setting print "Pre Compilation project is setup. \n\nLook into config.rb file for setting up paths to handlebar files" end