refactor(del): made remove the default case

This commit is contained in:
Lewis Wynne 2025-12-23 09:35:31 +00:00
parent 3d5a3f2aa1
commit c2d1ec0842
21 changed files with 145 additions and 103 deletions

View file

@ -33,9 +33,9 @@ import (
// delStoreCmd represents the set command
var delStoreCmd = &cobra.Command{
Use: "del-store STORE",
Use: "remove-store STORE",
Short: "Delete a store",
Aliases: []string{"delete-store", "rm-store", "remove-store"},
Aliases: []string{"rm-store", "rms"},
Args: cobra.ExactArgs(1),
RunE: delStore,
SilenceUsage: true,