mirror of
https://github.com/coder/coder.git
synced 2025-07-21 01:28:49 +00:00
fix: Group subcommands for cognitive ease (#1351)
This commit is contained in:
@ -12,8 +12,10 @@ import (
|
||||
|
||||
func stop() *cobra.Command {
|
||||
return &cobra.Command{
|
||||
Use: "stop <workspace>",
|
||||
Args: cobra.ExactArgs(1),
|
||||
Annotations: workspaceCommand,
|
||||
Use: "stop <workspace>",
|
||||
Short: "Build a workspace with the stop state",
|
||||
Args: cobra.ExactArgs(1),
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
client, err := createClient(cmd)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user