Heroku Commands By Remote Name
Programming is often a game of inches; a keystroke here, and hotkey there, and suddenly you are doing magical things.
In that spirit, I recently learned that you can run Heroku commands against a remote name (assuming a remote named production
):
$ heroku run <command> -rproduction
Instead of like this, which I think is more common:
$ heroku run <command> --app today-i-learned-production
Add those keystrokes to the bank.
Tweet