Skip to content

Commit d4017db

Browse files
committed
Add cluster-gcp commands to cli.md
1 parent b80329c commit d4017db

File tree

2 files changed

+54
-0
lines changed

2 files changed

+54
-0
lines changed

dev/generate_cli_md.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ commands=(
4343
"cluster configure"
4444
"cluster down"
4545
"cluster export"
46+
"cluster-gcp up"
47+
"cluster-gcp info"
48+
"cluster-gcp down"
4649
"env configure"
4750
"env list"
4851
"env default"

docs/clients/cli.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,57 @@ Flags:
197197
-h, --help help for export
198198
```
199199

200+
## cluster-gcp up
201+
202+
```text
203+
spin up a cluster on gcp
204+
205+
Usage:
206+
cortex cluster-gcp up [flags]
207+
208+
Flags:
209+
-c, --config string path to a cluster configuration file
210+
-e, --configure-env string name of environment to configure (default "gcp")
211+
-y, --yes skip prompts
212+
-h, --help help for up
213+
```
214+
215+
## cluster-gcp info
216+
217+
```text
218+
get information about a cluster
219+
220+
Usage:
221+
cortex cluster-gcp info [flags]
222+
223+
Flags:
224+
-c, --config string path to a cluster configuration file
225+
-n, --name string name of the cluster
226+
-p, --project string gcp project id
227+
-z, --zone string gcp zone of the cluster
228+
-e, --configure-env string name of environment to configure
229+
-d, --debug save the current cluster state to a file
230+
-y, --yes skip prompts
231+
-h, --help help for info
232+
```
233+
234+
## cluster-gcp down
235+
236+
```text
237+
spin down a cluster
238+
239+
Usage:
240+
cortex cluster-gcp down [flags]
241+
242+
Flags:
243+
-c, --config string path to a cluster configuration file
244+
-n, --name string name of the cluster
245+
-p, --project string gcp project id
246+
-z, --zone string gcp zone of the cluster
247+
-y, --yes skip prompts
248+
-h, --help help for down
249+
```
250+
200251
## env configure
201252

202253
```text

0 commit comments

Comments
 (0)