Skip to content

Instantly share code, notes, and snippets.

@misostack
Created October 2, 2017 10:44
Show Gist options
  • Save misostack/6c49305ae48adbe4ebf817bc574e9f93 to your computer and use it in GitHub Desktop.
Save misostack/6c49305ae48adbe4ebf817bc574e9f93 to your computer and use it in GitHub Desktop.
rails 5 - command line - rails generate -h
Usage: rails generate GENERATOR [args] [options]
General options:
-h, [--help] # Print generator's options and usage
-p, [--pretend] # Run but do not make any changes
-f, [--force] # Overwrite files that already exist
-s, [--skip] # Skip files that already exist
-q, [--quiet] # Suppress status output
Please choose a generator below.
Rails:
assets
channel
controller
generator
helper
integration_test
jbuilder
job
mailer
migration
model
resource
scaffold
scaffold_controller
system_test
task
Coffee:
coffee:assets
Js:
js:assets
TestUnit:
test_unit:generator
test_unit:plugin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment