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

+1-1
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

+14-3
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)