blob: 4b7b953fdf9f0064e10dba0f0310c37fe631bee6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
|
# heroku-alias
🧬 Full alias for heroku cli
|🚀 last maj|📡 source|
|---|---|
|02/06/2020|[heroku cli doc](https://devcenter.heroku.com/articles/heroku-cli-commands)|
# Alias list
## 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 |
| hcfile | function hcfile bellow |
```sh
hcfile() {
echo " Which platform [-r/a name] ? "
read platform
echo " Which file ? "
read file
while read line;
do heroku config:set "$platform" "$line";
done < "$file"
}
```
## 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 |
| hfavr | heroku apps:favorites:remove |
| hai | heroku apps:info |
| hair | heroku apps:info -r |
| haia | heroku apps:info -a |
# auth
| Alias | Command |
| ------------- | ------------- |
| h2fa | heroku auth:2fa |
| h2far | heroku auth:2fa:disable |
# 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 |
| hadel | heroku addons:destroy |
| 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 |
| hthadd | heroku authorizations:create |
| hthif | heroku authorizations:info |
| hthdel | heroku authorizations:revoke |
| hthrot | heroku authorizations:rotate |
| 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 |
| hsslu | heroku certs:update |
| hsslr | heroku certs:remove |
|