@colinkey/rails-gen v0.1.6
rails-gen
A tiny interactive cli for generating new rails projects.
Usage
npx @colinkey/rails-genUse npx @colinkey/rails-gen in place of rails new to walk through an interactive cli to configure options that will be passed to the rails new command. rails-gen will then give you the option to execute the command in the current directory to generate your rails project or output the command to the console.
Requirements
Currently, rails-gen is only tested as working with Rails 6. Older versions may not be supported but ideally will be in the future.
FAQ
Q. Why? \ A. There's a lot of configuration options for generating rails projects and they can be hard to remember if you aren't creating new rails projects very often.
Q. What's the difference between this and just typing rails new with flags? \
A. Nothing! It's an interactive way to do just that. The end result is a generated rails new command.
Q. Why is a rails generator written in javascript? \ A. I wrote this to help myself out and I know JS better than Ruby. Plus, npx makes using the cli fairly frictionless.