mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: Group subcommands for cognitive ease (#1351)
This commit is contained in:
+5
-3
@@ -13,9 +13,11 @@ import (
|
||||
// nolint
|
||||
func delete() *cobra.Command {
|
||||
return &cobra.Command{
|
||||
Use: "delete <workspace>",
|
||||
Aliases: []string{"rm"},
|
||||
Args: cobra.ExactArgs(1),
|
||||
Annotations: workspaceCommand,
|
||||
Use: "delete <workspace>",
|
||||
Short: "Delete a workspace",
|
||||
Aliases: []string{"rm"},
|
||||
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