How do I pass `rails new` flags from my Rails template

Viewed 219

Rails application templates sound great, and I want to create my own custom template instead of repeating myself to create a common base for every single application I create.

How do I run the equivalent of rails new --api --webpack=react --database=postgresql from inside my template so that it automatically does this when I run rails new myapp -m http://example.com/template.rb

1 Answers
Related