Class: MakeItSo::CommandLineInterface
- Inherits:
-
Thor
- Object
- Thor
- MakeItSo::CommandLineInterface
- Defined in:
- lib/make_it_so/command_line_interface.rb
Instance Method Summary collapse
Instance Method Details
#gosu(*args) ⇒ Object
23 24 25 26 |
# File 'lib/make_it_so/command_line_interface.rb', line 23 def gosu(*args) puts "#{args.first}" MakeItSo::GosuAppGenerator.start(args) end |
#rails(app_name) ⇒ Object
8 9 10 11 12 |
# File 'lib/make_it_so/command_line_interface.rb', line 8 def rails(app_name) if MakeItSo::Rails::PrerequisiteCheck.new.check MakeItSo::RailsAppGenerator.start(ARGV[1..-1]) end end |
#sinatra(*args) ⇒ Object
16 17 18 19 |
# File 'lib/make_it_so/command_line_interface.rb', line 16 def sinatra(*args) puts "#{args.first}" MakeItSo::SinatraAppGenerator.start(args) end |