#!/usr/bin/env ruby unless $:.include?(File.dirname(__FILE__) + '/../lib') $:.unshift(File.dirname(__FILE__) + '/../lib') end require 'rubygems' unless ENV['NORUBYGEMS'] require 'montage' require 'montage/commands' Montage::Commands.print_masthead case ARGV[0] when 'init' require 'montage/commands/init' Montage::Commands::Init.run(ARGV) else require 'montage/commands/generate' Montage::Commands::Generate.run(ARGV) end