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

@ -34,9 +34,9 @@ import (
// delCmd represents the set command
var delCmd = &cobra.Command{
Use: "del KEY[@STORE] [KEY[@STORE] ...]",
Use: "remove KEY[@STORE] [KEY[@STORE] ...]",
Short: "Delete one or more keys",
Aliases: []string{"delete", "rm", "remove"},
Aliases: []string{"rm"},
Args: cobra.ArbitraryArgs,
RunE: del,
SilenceUsage: true,