fix: Group subcommands for cognitive ease (#1351)

This commit is contained in:
Kyle Carberry
2022-05-09 17:42:02 -05:00
committed by GitHub
parent 20caee1502
commit ddb9631d7a
22 changed files with 89 additions and 271 deletions
+5 -3
View File
@@ -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 {