1 | heroku-cli-plugin-apps
|
2 | ======================
|
3 |
|
4 | [![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)
|
5 | [![Version](https://img.shields.io/npm/v/heroku-cli-plugin-apps.svg)](https://npmjs.org/package/heroku-cli-plugin-apps)
|
6 | [![CircleCI](https://circleci.com/gh/brettgoulder/heroku-cli-plugin-apps/tree/master.svg?style=shield)](https://circleci.com/gh/brettgoulder/heroku-cli-plugin-apps/tree/master)
|
7 | [![Downloads/week](https://img.shields.io/npm/dw/heroku-cli-plugin-apps.svg)](https://npmjs.org/package/heroku-cli-plugin-apps)
|
8 | [![License](https://img.shields.io/npm/l/heroku-cli-plugin-apps.svg)](https://github.com/brettgoulder/heroku-cli-plugin-apps/blob/master/package.json)
|
9 |
|
10 |
|
11 | * [Usage](#usage)
|
12 | * [Commands](#commands)
|
13 |
|
14 | # Usage
|
15 |
|
16 | ```sh-session
|
17 | $ npm install -g @heroku-cli/plugin-apps
|
18 | $ heroku COMMAND
|
19 | running command...
|
20 | $ heroku (-v|--version|version)
|
21 | @heroku-cli/plugin-apps/7.39.2 darwin-x64 node-v12.12.0
|
22 | $ heroku --help [COMMAND]
|
23 | USAGE
|
24 | $ heroku COMMAND
|
25 | ...
|
26 | ```
|
27 |
|
28 | # Commands
|
29 |
|
30 | * [`heroku domains`](#heroku-domains)
|
31 | * [`heroku domains:add HOSTNAME`](#heroku-domainsadd-hostname)
|
32 | * [`heroku domains:clear`](#heroku-domainsclear)
|
33 | * [`heroku domains:info HOSTNAME`](#heroku-domainsinfo-hostname)
|
34 | * [`heroku domains:remove HOSTNAME`](#heroku-domainsremove-hostname)
|
35 | * [`heroku domains:wait [HOSTNAME]`](#heroku-domainswait-hostname)
|
36 |
|
37 | ## `heroku domains`
|
38 |
|
39 | list domains for an app
|
40 |
|
41 | ```
|
42 | USAGE
|
43 | $ heroku domains
|
44 |
|
45 | OPTIONS
|
46 | -a, --app=app (required) app to run command against
|
47 | -h, --help show CLI help
|
48 | -j, --json output in json format
|
49 | -r, --remote=remote git remote of app to use
|
50 | -x, --extended show extra columns
|
51 | --columns=columns only show provided columns (comma-separated)
|
52 | --csv output is csv format
|
53 | --filter=filter filter property by partial string matching, ex: name=foo
|
54 | --no-header hide table header from output
|
55 | --sort=sort property to sort by (prepend '-' for descending)
|
56 |
|
57 | EXAMPLES
|
58 | $ heroku domains
|
59 | === example Heroku Domain
|
60 | example.herokuapp.com
|
61 |
|
62 | === example Custom Domains
|
63 | Domain Name DNS Record Type DNS Target
|
64 | www.example.com CNAME www.example.herokudns.com
|
65 |
|
66 | $ heroku domains --filter 'Domain Name=www.example.com'
|
67 | ```
|
68 |
|
69 | _See code: [src/commands/domains/index.ts](https://github.com/heroku/heroku-cli-plugin-apps/blob/v7.39.2/src/commands/domains/index.ts)_
|
70 |
|
71 | ## `heroku domains:add HOSTNAME`
|
72 |
|
73 | add a domain to an app
|
74 |
|
75 | ```
|
76 | USAGE
|
77 | $ heroku domains:add HOSTNAME
|
78 |
|
79 | OPTIONS
|
80 | -a, --app=app (required) app to run command against
|
81 | -c, --cert=cert the name of the SSL cert you want to use for this domain
|
82 | -h, --help show CLI help
|
83 | -j, --json output in json format
|
84 | -r, --remote=remote git remote of app to use
|
85 | --wait
|
86 |
|
87 | EXAMPLE
|
88 | heroku domains:add www.example.com
|
89 | ```
|
90 |
|
91 | _See code: [src/commands/domains/add.ts](https://github.com/heroku/heroku-cli-plugin-apps/blob/v7.39.2/src/commands/domains/add.ts)_
|
92 |
|
93 | ## `heroku domains:clear`
|
94 |
|
95 | remove all domains from an app
|
96 |
|
97 | ```
|
98 | USAGE
|
99 | $ heroku domains:clear
|
100 |
|
101 | OPTIONS
|
102 | -a, --app=app (required) app to run command against
|
103 | -h, --help show CLI help
|
104 | -r, --remote=remote git remote of app to use
|
105 |
|
106 | EXAMPLE
|
107 | heroku domains:clear
|
108 | ```
|
109 |
|
110 | _See code: [src/commands/domains/clear.ts](https://github.com/heroku/heroku-cli-plugin-apps/blob/v7.39.2/src/commands/domains/clear.ts)_
|
111 |
|
112 | ## `heroku domains:info HOSTNAME`
|
113 |
|
114 | show detailed information for a domain on an app
|
115 |
|
116 | ```
|
117 | USAGE
|
118 | $ heroku domains:info HOSTNAME
|
119 |
|
120 | OPTIONS
|
121 | -a, --app=app (required) app to run command against
|
122 | -h, --help show CLI help
|
123 | -r, --remote=remote git remote of app to use
|
124 |
|
125 | EXAMPLE
|
126 | $ heroku domains:info www.example.com
|
127 | ```
|
128 |
|
129 | _See code: [src/commands/domains/info.ts](https://github.com/heroku/heroku-cli-plugin-apps/blob/v7.39.2/src/commands/domains/info.ts)_
|
130 |
|
131 | ## `heroku domains:remove HOSTNAME`
|
132 |
|
133 | remove a domain from an app
|
134 |
|
135 | ```
|
136 | USAGE
|
137 | $ heroku domains:remove HOSTNAME
|
138 |
|
139 | OPTIONS
|
140 | -a, --app=app (required) app to run command against
|
141 | -h, --help show CLI help
|
142 | -r, --remote=remote git remote of app to use
|
143 |
|
144 | EXAMPLE
|
145 | heroku domains:remove www.example.com
|
146 | ```
|
147 |
|
148 | _See code: [src/commands/domains/remove.ts](https://github.com/heroku/heroku-cli-plugin-apps/blob/v7.39.2/src/commands/domains/remove.ts)_
|
149 |
|
150 | ## `heroku domains:wait [HOSTNAME]`
|
151 |
|
152 | wait for domain to be active for an app
|
153 |
|
154 | ```
|
155 | USAGE
|
156 | $ heroku domains:wait [HOSTNAME]
|
157 |
|
158 | OPTIONS
|
159 | -a, --app=app (required) app to run command against
|
160 | -h, --help show CLI help
|
161 | -r, --remote=remote git remote of app to use
|
162 | ```
|
163 |
|
164 | _See code: [src/commands/domains/wait.ts](https://github.com/heroku/heroku-cli-plugin-apps/blob/v7.39.2/src/commands/domains/wait.ts)_
|
165 |
|