2023-01-09 20:23:31 +01:00
|
|
|
# heroku-alias
|
|
|
|
|
2024-08-08 20:43:20 +02:00
|
|
|
Full alias list for Heroku CLI.
|
2023-01-09 20:23:31 +01:00
|
|
|
|
2024-08-08 20:43:20 +02:00
|
|
|
To use it, add `heroku-alias` to the plugins array in your zshrc file:
|
2023-01-09 20:23:31 +01:00
|
|
|
|
2024-08-08 20:43:20 +02:00
|
|
|
```zsh
|
|
|
|
plugins=(... heroku-alias)
|
2023-01-09 20:23:31 +01:00
|
|
|
```
|
|
|
|
|
2024-08-08 20:43:20 +02:00
|
|
|
## Requirements
|
|
|
|
|
|
|
|
- [Heroku CLI](https://devcenter.heroku.com/articles/heroku-cli)
|
|
|
|
|
|
|
|
| 🚀 last maj | 📡 source |
|
|
|
|
| ---------- | --------------------------------------------------------------------------- |
|
|
|
|
| 02/06/2020 | [heroku cli doc](https://devcenter.heroku.com/articles/heroku-cli-commands) |
|
|
|
|
|
|
|
|
## Aliases
|
|
|
|
|
|
|
|
### general
|
|
|
|
|
|
|
|
| Alias | Command |
|
|
|
|
| ----- | ---------------------------------- |
|
|
|
|
| h | heroku |
|
|
|
|
| hauto | heroku autocomplete $(echo $SHELL) |
|
|
|
|
| hl | heroku local |
|
|
|
|
|
|
|
|
### config
|
|
|
|
|
|
|
|
| Alias | Command |
|
|
|
|
| ------ | ---------------------- |
|
|
|
|
| hc | heroku config |
|
|
|
|
| hca | heroku config -a |
|
|
|
|
| hcr | heroku config -r |
|
|
|
|
| hcs | heroku config:set |
|
|
|
|
| hcu | heroku config:unset |
|
|
|
|
|
|
|
|
Also, you can use the `hcfile` function to set multiple config variables from a file,
|
|
|
|
which asks you for a platform and a config file to read the configuration from.
|
|
|
|
|
|
|
|
### apps and favorites
|
|
|
|
|
|
|
|
| Alias | Command |
|
|
|
|
| ----- | ---------------------------- |
|
|
|
|
| ha | heroku apps |
|
|
|
|
| hpop | heroku create |
|
|
|
|
| hkill | heroku apps:destroy |
|
|
|
|
| hlog | heroku apps:errors |
|
|
|
|
| hfav | heroku apps:favorites |
|
|
|
|
| hfava | heroku apps:favorites:add |
|
2023-01-09 20:23:31 +01:00
|
|
|
| hfavr | heroku apps:favorites:remove |
|
2024-08-08 20:43:20 +02:00
|
|
|
| hai | heroku apps:info |
|
|
|
|
| hair | heroku apps:info -r |
|
|
|
|
| haia | heroku apps:info -a |
|
|
|
|
|
|
|
|
## auth
|
|
|
|
|
|
|
|
| Alias | Command |
|
|
|
|
| ----- | ----------------------- |
|
|
|
|
| h2fa | heroku auth:2fa |
|
2023-01-09 20:23:31 +01:00
|
|
|
| h2far | heroku auth:2fa:disable |
|
|
|
|
|
2024-08-08 20:43:20 +02:00
|
|
|
## access
|
|
|
|
|
|
|
|
| Alias | Command |
|
|
|
|
| ----- | -------------------- |
|
|
|
|
| hac | heroku access |
|
|
|
|
| hacr | heroku access -r |
|
|
|
|
| haca | heroku access -a |
|
|
|
|
| hadd | heroku access:add |
|
|
|
|
| hdel | heroku access:remove |
|
|
|
|
| hup | heroku access:update |
|
|
|
|
|
|
|
|
### addons
|
|
|
|
|
|
|
|
| Alias | Command |
|
|
|
|
| ----- | --------------------- |
|
|
|
|
| hads | heroku addons -A |
|
|
|
|
| hada | heroku addons -a |
|
|
|
|
| hadr | heroku addons -r |
|
|
|
|
| hadat | heroku addons:attach |
|
|
|
|
| hadc | heroku addons:create |
|
2023-01-09 20:23:31 +01:00
|
|
|
| hadel | heroku addons:destroy |
|
2024-08-08 20:43:20 +02:00
|
|
|
| hadde | heroku addons:detach |
|
|
|
|
| hadoc | heroku addons:docs |
|
|
|
|
|
|
|
|
### login
|
|
|
|
|
|
|
|
| Alias | Command |
|
|
|
|
| ----- | ------------------ |
|
|
|
|
| hin | heroku login |
|
|
|
|
| hout | heroku logout |
|
|
|
|
| hi | heroku login -i |
|
|
|
|
| hwho | heroku auth:whoami |
|
|
|
|
|
|
|
|
### authorizations
|
|
|
|
|
|
|
|
| Alias | Command |
|
|
|
|
| ------ | ---------------------------- |
|
|
|
|
| hth | heroku authorizations |
|
2023-01-09 20:23:31 +01:00
|
|
|
| hthadd | heroku authorizations:create |
|
2024-08-08 20:43:20 +02:00
|
|
|
| hthif | heroku authorizations:info |
|
2023-01-09 20:23:31 +01:00
|
|
|
| hthdel | heroku authorizations:revoke |
|
|
|
|
| hthrot | heroku authorizations:rotate |
|
2024-08-08 20:43:20 +02:00
|
|
|
| hthup | heroku authorizations:update |
|
|
|
|
|
|
|
|
### plugins
|
|
|
|
|
|
|
|
| Alias | Command |
|
|
|
|
| ----- | -------------- |
|
|
|
|
| hp | heroku plugins |
|
|
|
|
|
|
|
|
### log
|
|
|
|
|
|
|
|
| Alias | Command |
|
|
|
|
| ----- | --------------- |
|
|
|
|
| hg | heroku logs |
|
|
|
|
| hgt | heroku log tail |
|
|
|
|
|
|
|
|
### database
|
|
|
|
|
|
|
|
| Alias | Command |
|
|
|
|
| ----- | -------------------------- |
|
|
|
|
| hpg | heroku pg |
|
|
|
|
| hpsql | heroku pg:psql |
|
|
|
|
| hpb | heroku pg:backups |
|
|
|
|
| hpbc | heroku pg:backups:capture |
|
|
|
|
| hpbd | heroku pg:backups:download |
|
|
|
|
| hpbr | heroku pg:backups:restore |
|
|
|
|
|
|
|
|
### certs
|
|
|
|
|
|
|
|
| Alias | Command |
|
|
|
|
| ----- | ------------------- |
|
|
|
|
| hssl | heroku certs |
|
|
|
|
| hssli | heroku certs:info |
|
|
|
|
| hssla | heroku certs:add |
|
2023-01-09 20:23:31 +01:00
|
|
|
| hsslu | heroku certs:update |
|
|
|
|
| hsslr | heroku certs:remove |
|