#!/usr/bin/env ruby require 'twitter_bot_generator' begin if !ARGV[0] || ARGV[0] == '--help' puts 'twitter_bot_generator ' puts '## creates a new directory called in the current working directory, ' puts 'and fills it with a bunch of boilerplate goodness' else TwitterBotGenerator.generate ARGV[0].gsub('-', '_') end rescue puts 'something horrible has happened' end