mirror of https://github.com/rails/rails
6e89ae2d2e
All the common rails commands and some extended commands use the infinitive form for the verb in the description. This changes the remaining tasks to use the infinitive form verb as well, for consistency. __Before__ ```console $ bin/rails --help ... action_mailbox:install Installs Action Mailbox and its dependencies ... app:template Applies the template supplied by LOCATION=(/path/to/template) or URL ... credentials:diff Enrolls/disenrolls in decrypted diffs of credentials using git credentials:edit Opens the decrypted credentials in `$EDITOR` for editing credentials:show Shows the decrypted credentials db:create Creates the database from DATABASE_URL or config/database.yml for the current RAILS_ENV (use... db:drop Drops the database from DATABASE_URL or config/database.yml for the current RAILS_ENV (use d... ... db:fixtures:load Loads fixtures into the current environment's database db:migrate Migrate the database (options: VERSION=x, VERBOSE=false, SCOPE=blog) db:migrate:down Runs the "down" for a given migration VERSION db:migrate:redo Rolls back the database one migration and re-migrates up (options: STEP=x, VERSION=x) db:migrate:up Runs the "up" for a given migration VERSION db:prepare Runs setup if database does not exist, or runs migrations if it does db:reset Drops and recreates all databases from their schema for the current environment and loads th... db:rollback Rolls the schema back to the previous version (specify steps w/ STEP=n) db:schema:cache:clear Clears a db/schema_cache.yml file db:schema:cache:dump Creates a db/schema_cache.yml file db:schema:dump Creates a database schema file (either db/schema.rb or db/structure.sql, depending on `ENV['... db:schema:load Loads a database schema file (either db/schema.rb or db/structure.sql, depending on `ENV['SC... db:seed Loads the seed data from db/seeds.rb db:seed:replant Truncates tables of each database for current environment and loads the seeds db:setup Creates all databases, loads all schemas, and initializes with the seed data (use db:reset t... db:system:change Changes `config/database.yml` and your database gem to the target database db:version Retrieves the current schema version number destroy Removes code generated by `bin/rails generate` dev:cache Toggles development mode caching on/off encrypted:edit Opens the decrypted file in `$EDITOR` for editing encrypted:show Shows the decrypted contents of the file ... log:clear Truncates all/specified *.log files in log/ to zero bytes (specify which logs with LOGS=test... middleware Prints out your Rack middleware stack notes Shows comments in your code annotated with FIXME, OPTIMIZE, and TODO ... routes Lists all the defined routes runner Runs Ruby code in the context of your application ... secrets:edit Opens the secrets in `$EDITOR` for editing secrets:show Shows the decrypted secrets ... tmp:create Creates tmp directories for cache, sockets, and pids version Shows the Rails version ... zeitwerk:check Checks project structure for Zeitwerk compatibility ``` __After__ ```console $ bin/rails --help ... action_mailbox:install Install Action Mailbox and its dependencies ... app:template Apply the template supplied by LOCATION=(/path/to/template) or URL ... credentials:diff Enrolls/disenrolls in decrypted diffs of credentials using git credentials:edit Opens the decrypted credentials in `$EDITOR` for editing credentials:show Shows the decrypted credentials db:create Create the database from DATABASE_URL or config/database.yml for the current RAILS_ENV (use ... db:drop Drop the database from DATABASE_URL or config/database.yml for the current RAILS_ENV (use db... ... db:fixtures:load Load fixtures into the current environment's database db:migrate Migrate the database (options: VERSION=x, VERBOSE=false, SCOPE=blog) db:migrate:down Run the "down" for a given migration VERSION db:migrate:redo Roll back the database one migration and re-migrate up (options: STEP=x, VERSION=x) db:migrate:status Display status of migrations db:migrate:up Run the "up" for a given migration VERSION db:prepare Run setup if database does not exist, or run migrations if it does db:reset Drop and recreate all databases from their schema for the current environment and load the s... db:rollback Roll the schema back to the previous version (specify steps w/ STEP=n) db:schema:cache:clear Clear a db/schema_cache.yml file db:schema:cache:dump Create a db/schema_cache.yml file db:schema:dump Create a database schema file (either db/schema.rb or db/structure.sql, depending on `ENV['S... db:schema:load Load a database schema file (either db/schema.rb or db/structure.sql, depending on `ENV['SCH... db:seed Load the seed data from db/seeds.rb db:seed:replant Truncate tables of each database for current environment and load the seeds db:setup Create all databases, load all schemas, and initialize with the seed data (use db:reset to a... db:system:change Change `config/database.yml` and your database gem to the target database db:version Retrieve the current schema version number destroy Remove code generated by `bin/rails generate` dev:cache Toggle development mode caching on/off encrypted:edit Open the decrypted file in `$EDITOR` for editing encrypted:show Show the decrypted contents of the file ... log:clear Truncate all/specified *.log files in log/ to zero bytes (specify which logs with LOGS=test... middleware Print out your Rack middleware stack notes Show comments in your code annotated with FIXME, OPTIMIZE, and TODO ... routes List all the defined routes runner Run Ruby code in the context of your application ... secrets:edit Open the secrets in `$EDITOR` for editing secrets:show Show the decrypted secrets ... tmp:create Create tmp directories for cache, sockets, and pids version Show the Rails version ... zeitwerk:check Check project structure for Zeitwerk compatibility ``` Co-authored-by: Jonathan Hefner <jonathan@hefner.pro> |
||
---|---|---|
.. | ||
ingress.rake | ||
install.rake |