Sha256: edf6c485a3d6891e3b467da1973ccca1daf405dd96ead23db41afe18629400aa

Contents?: true

Size: 459 Bytes

Versions: 5

Compression:

Stored size: 459 Bytes

Contents

#!/usr/bin/env ruby

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

optparse = OptionParser.new do |opts|
  opts.banner = "Usage: ginny [options] [path]"
  options[:verbose] = false
  opts.on("-v", "--verbose", "Output more information") do
    options[:verbose] = true
  end
  opts.on("-h", "--help", "Display this screen") do
    puts(opts)
    exit(0)
  end
end

optparse.parse!

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ginny-0.6.0 exe/ginny
ginny-0.5.4 exe/ginny
ginny-0.5.3 exe/ginny
ginny-0.5.2 exe/ginny
ginny-0.5.0 exe/ginny