Sha256: dc62f1ea0d71e14204f2be294f33250495d1e3e8da86415615f51ac4d8b3ae9f

Contents?: true

Size: 415 Bytes

Versions: 2

Compression:

Stored size: 415 Bytes

Contents

#!/usr/bin/env ruby
# coding: utf-8

$LOAD_PATH.unshift File.dirname(__FILE__) + '/../lib'

require 'retter'

Retter.load ENV

case ARGV[0]
when 'new'
  Retter::Generator::Creator.start ARGV[1..-1]
when 'gen'
  Retter::Generator::Updator.start ARGV[1..-1]
else
  begin
    Retter::Command.start
  rescue Errno::ENOENT
    $stderr.puts "Some files might be broken. run `retter gen $RETTER_HOME`"
    raise
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
retter-0.2.2 bin/retter
retter-0.2.1 bin/retter