#!/usr/bin/env ruby if ARGV[0] require 'sinatra_generator' generator = SinatraGenerator::Generator.new generator.new_app ARGV[0] puts "new app generated." else puts "Usage: sinatragen [FOLDER_NAME]" end