Sha256: b3c99055e056b1d0676bfa582ed90926546501fa21f69c04ebe5276e1392962a

Contents?: true

Size: 422 Bytes

Versions: 4

Compression:

Stored size: 422 Bytes

Contents

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

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

require 'retter'

Retter.load_config 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

4 entries across 4 versions & 1 rubygems

Version Path
retter-0.2.0 bin/retter
retter-0.1.3 bin/retter
retter-0.1.2 bin/retter
retter-0.1.1 bin/retter