This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'thor' | |
class BootstrapApp < Thor | |
include Thor::Actions | |
desc "create", "Create a Twitter Bootstrap app" | |
method_option :database, aliases: '-d', type: :string, desc: 'The database adapter to use: sqlite3 oracle mysql2 etc.', default: 'sqlite3' | |
method_option :test, aliases: '-t', type: :string, desc: 'The test framework to use: test-unit rspec-rails etc.', default: 'rspec-rails' |
NewerOlder