0.1.6 • Published 4 years ago

@colinkey/rails-gen v0.1.6

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

rails-gen

A tiny interactive cli for generating new rails projects.

Usage

npx @colinkey/rails-gen

Use 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.

0.1.2

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.1

4 years ago

0.0.1

4 years ago