Sha256: f2b4a3e74d8368ef0233ba3463180d3fb4f6f1a3a651836ad9fdfedaaceb8289

Contents?: true

Size: 676 Bytes

Versions: 10

Compression:

Stored size: 676 Bytes

Contents

require 'thor'
module MakeItSo
  class CommandLineInterface < Thor
    desc "rails <app_name>",
      "generates a rails application based on your specifications"
    option :devise
    def rails(app_name)
      puts "#{app_name}"
      MakeItSo::RailsAppGenerator.start([app_name])
    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

Version Path
make_it_so-0.2.4 lib/make_it_so/command_line_interface.rb
make_it_so-0.2.3 lib/make_it_so/command_line_interface.rb
make_it_so-0.1.4 lib/make_it_so/command_line_interface.rb
make_it_so-0.1.3 lib/make_it_so/command_line_interface.rb
make_it_so-0.1.1 lib/make_it_so/command_line_interface.rb
make_it_so-0.1.0 lib/make_it_so/command_line_interface.rb
make_it_so-0.0.9 lib/make_it_so/command_line_interface.rb
make_it_so-0.0.7 lib/make_it_so/command_line_interface.rb
make_it_so-0.0.6 lib/make_it_so/command_line_interface.rb
make_it_so-0.0.5 lib/make_it_so/command_line_interface.rb