Sha256: e7b3b690f38d463b2256d342f6f479ce032987309ef2ea1ea5cb17ad512a57ec

Contents?: true

Size: 477 Bytes

Versions: 5

Compression:

Stored size: 477 Bytes

Contents

#!/usr/bin/env ruby

require "food_truck"
require "optparse"
options = {}

optparse = OptionParser.new do |opts|
  opts.banner = "Usage: food_truck [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|
  FoodTruck::Class.create(FoodTruck.load_file(f)).generate()
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
food_truck-0.5.3 exe/food_truck
food_truck-0.5.2 exe/food_truck
food_truck-0.5.1 exe/food_truck
food_truck-0.5.0 exe/food_truck
food_truck-0.4.0 exe/food_truck