UNPKG

4.87 kBMarkdownView Raw
1heroku-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<!-- toc -->
11* [Usage](#usage)
12* [Commands](#commands)
13<!-- tocstop -->
14# Usage
15<!-- usage -->
16```sh-session
17$ npm install -g @heroku-cli/plugin-apps
18$ heroku COMMAND
19running command...
20$ heroku (-v|--version|version)
21@heroku-cli/plugin-apps/7.39.2 darwin-x64 node-v12.12.0
22$ heroku --help [COMMAND]
23USAGE
24 $ heroku COMMAND
25...
26```
27<!-- usagestop -->
28# Commands
29<!-- commands -->
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
39list domains for an app
40
41```
42USAGE
43 $ heroku domains
44
45OPTIONS
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
57EXAMPLES
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
73add a domain to an app
74
75```
76USAGE
77 $ heroku domains:add HOSTNAME
78
79OPTIONS
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
87EXAMPLE
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
95remove all domains from an app
96
97```
98USAGE
99 $ heroku domains:clear
100
101OPTIONS
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
106EXAMPLE
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
114show detailed information for a domain on an app
115
116```
117USAGE
118 $ heroku domains:info HOSTNAME
119
120OPTIONS
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
125EXAMPLE
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
133remove a domain from an app
134
135```
136USAGE
137 $ heroku domains:remove HOSTNAME
138
139OPTIONS
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
144EXAMPLE
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
152wait for domain to be active for an app
153
154```
155USAGE
156 $ heroku domains:wait [HOSTNAME]
157
158OPTIONS
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<!-- commandsstop -->