Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit 1b3216b

Browse files
committed
fixup! Allow multiple env args to env stop command
1 parent b3a3807 commit 1b3216b

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

docs/coder_envs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ Perform operations on the Coder environments owned by the active user.
2323

2424
* [coder](coder.md) - coder provides a CLI for working with an existing Coder Enterprise installation
2525
* [coder envs ls](coder_envs_ls.md) - list all environments owned by the active user
26-
* [coder envs stop](coder_envs_stop.md) - stop a Coder environment by name
26+
* [coder envs stop](coder_envs_stop.md) - stop Coder environments by name

docs/coder_envs_stop.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,24 @@
11
## coder envs stop
22

3-
stop a Coder environment by name
3+
stop Coder environments by name
44

55
### Synopsis
66

7-
Stop a Coder environment by name
7+
Stop Coder environments by name
88

99
```
10-
coder envs stop [environment_name] [flags]
10+
coder envs stop [...environment_names] [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
coder envs stop front-end-env
17+
coder envs stop front-end-env backend-env
18+
19+
# to stop all of your environments:
20+
coder envs ls -o json | jq -c '.[].name' | xargs coder envs stop
21+
1122
```
1223

1324
### Options

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy