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

@ -31,14 +31,16 @@ import (
)
var cpCmd = &cobra.Command{
Use: "cp FROM[@STORE] TO[@STORE]",
Short: "Make a copy of a key",
Args: cobra.ExactArgs(2),
RunE: cp,
Use: "copy FROM[@STORE] TO[@STORE]",
Aliases: []string{"cp"},
Short: "Make a copy of a key",
Args: cobra.ExactArgs(2),
RunE: cp,
}
var mvCmd = &cobra.Command{
Use: "mv FROM[@STORE] TO[@STORE]",
Use: "move FROM[@STORE] TO[@STORE]",
Aliases: []string{"mv"},
Short: "Move a key",
Args: cobra.ExactArgs(2),
RunE: mv,