#!/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