Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consistently format commands in help messages #45716

Merged

Commits on Jul 31, 2022

  1. Consistently format commands in help messages

    This commit enhances the `Rails::Command::Base.executable` method to
    integrate a new `bin` class attribute and optional `subcommand` arg.
    So, for example, `CredentialsCommand.executable(:edit)` will now return
    "bin/rails credentials:edit".
    
    Additionally, this commit replaces occurrences of "bin/rails COMMAND",
    "rails COMMAND", and "COMMAND" in help messages with calls to
    `executable`, for improved consistency.
    jonathanhefner committed Jul 31, 2022
    Configuration menu
    Copy the full SHA
    7752be5 View commit details
    Browse the repository at this point in the history