refactor(del): made remove the default case
This commit is contained in:
parent
3d5a3f2aa1
commit
c2d1ec0842
21 changed files with 145 additions and 103 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue