Sha256: 590cc6e67a273e230eb15f7fbbffdcced84822880e4e4b4fb9fb566d705ab8d5

Contents?: true

Size: 572 Bytes

Versions: 2

Compression:

Stored size: 572 Bytes

Contents

#!/usr/bin/env ruby

unless $:.include?(File.dirname(__FILE__) + '/../lib')
  $:.unshift(File.dirname(__FILE__) + '/../lib')
end

require 'optparse'
require 'rubygems' unless ENV['NORUBYGEMS']

require 'montage'
require 'montage/commands'

require 'highline/import'

module Kernel
  def_delegators :$terminal, :color
end

args = Montage::Commands.parse_options!(ARGV.dup)
puts

case ARGV[0]
  when 'init'
    require 'montage/commands/init'
    Montage::Commands::Init.run(args)
  else
    require 'montage/commands/generate'
    Montage::Commands::Generate.run(args)
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
montage-0.4.0 bin/montage
montage-0.3.0 bin/montage