Sha256: be068838f9d4682b7d279794fc2ead1607c47295394188718ad87386a2872042
Contents?: true
Size: 701 Bytes
Versions: 10
Compression:
Stored size: 701 Bytes
Contents
require 'thor' module MakeItSo class CommandLineInterface < Thor desc "rails <app_name>", "generates a rails application based on your specifications" option :devise, type: :boolean option :jest, type: :boolean def rails(app_name) MakeItSo::RailsAppGenerator.start(ARGV[1..-1]) end desc "sinatra <app_name>", "generates a sinatra application based on your specifications" def sinatra(*args) puts "#{args.first}" MakeItSo::SinatraAppGenerator.start(args) end desc "gosu <app_name>", "generates a gosu game template" def gosu(*args) puts "#{args.first}" MakeItSo::GosuAppGenerator.start(args) end end end
Version data entries
10 entries across 10 versions & 1 rubygems