Sha256: 6e56e0ffd31c041f1df5529a3d8a368a81b0767d10704d6ca50657112a9036f9

Contents?: true

Size: 462 Bytes

Versions: 3

Compression:

Stored size: 462 Bytes

Contents

#!/usr/bin/env ruby

require "ginny"
require "optparse"
options = {}

optparse = OptionParser.new do |opts|
  opts.banner = "Usage: ginny [options] [path]"
  opts.on("-h", "--help", "Display this screen") do
    puts(opts)
    exit(0)
  end
  opts.on("-v", "--version", "Display version information") do
    puts("Ginny version #{Ginny::VERSION}")
    exit(0)
  end
end

optparse.parse!

ARGV.each do |f|
  Ginny::Class.create(Ginny.load_file(f)).generate()
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ginny-0.6.3 exe/ginny
ginny-0.6.2 exe/ginny
ginny-0.6.1 exe/ginny