Class: App
- Inherits:
-
MCLI::Command
- Object
- MCLI::Command
- App
- Defined in:
- lib/juans_world/commands/app.rb
Instance Method Summary collapse
Instance Method Details
#help ⇒ Object
26 27 28 |
# File 'lib/juans_world/commands/app.rb', line 26 def help puts "#{self.class.description}\n\n#{parser.to_s}" end |
#run ⇒ Object
12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/juans_world/commands/app.rb', line 12 def run @app_name = args[0] run_command rails_new Dir.chdir("./#{@app_name}") run_command procfile run_command bin_up run_command bundle_add run_command bundle_add_dev_test run_command db_up run_command rspec run_command devise run_command tailwindcss end |