This repository was archived by the owner on Aug 30, 2024. It is now read-only.
File tree 3 files changed +31
-3
lines changed
3 files changed +31
-3
lines changed Original file line number Diff line number Diff line change @@ -17,3 +17,4 @@ Perform operations on the Coder environments owned by the active user.
17
17
18
18
* [ coder] ( coder.md ) - coder provides a CLI for working with an existing Coder Enterprise installation
19
19
* [ coder envs ls] ( coder_envs_ls.md ) - list all environments owned by the active user
20
+ * [ coder envs stop] ( coder_envs_stop.md ) - stop a Coder Environment by name
Original file line number Diff line number Diff line change
1
+ ## coder envs stop
2
+
3
+ stop a Coder Environment by name
4
+
5
+ ### Synopsis
6
+
7
+ Stop a Coder Environment by name
8
+
9
+ ```
10
+ coder envs stop [environment_name] [flags]
11
+ ```
12
+
13
+ ### Options
14
+
15
+ ```
16
+ -h, --help help for stop
17
+ ```
18
+
19
+ ### Options inherited from parent commands
20
+
21
+ ```
22
+ --user string Specify the user whose resources to target (default "me")
23
+ ```
24
+
25
+ ### SEE ALSO
26
+
27
+ * [ coder envs] ( coder_envs.md ) - Interact with Coder environments
Original file line number Diff line number Diff line change @@ -69,9 +69,9 @@ func makeEnvsCommand() *cobra.Command {
69
69
func stopEnvCommand (user * string ) * cobra.Command {
70
70
return & cobra.Command {
71
71
Use : "stop [environment_name]" ,
72
- Short : "stop Coder environments by name" ,
73
- Long : "Stop a Coder environment by name. " ,
74
- Args : cobra .ExactArgs (1 ),
72
+ Short : "stop a Coder Environment by name" ,
73
+ Long : "Stop a Coder Environment by name" ,
74
+ Args : cobra .ExactArgs (1 ),
75
75
RunE : func (cmd * cobra.Command , args []string ) error {
76
76
client , err := newClient ()
77
77
if err != nil {
You can’t perform that action at this time.
0 commit comments