middleman/bin/mm-init

9 lines
No EOL
245 B
Ruby
Executable file

#!/usr/bin/env ruby
require "rubygems"
libdir = File.join(File.dirname(File.dirname(__FILE__)), "lib")
$LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)
require 'middleman'
args = ARGV.dup.unshift("init")
Middleman::CLI.start(args)