refactor(delete-db): default cmd set to del-db
This commit is contained in:
parent
f9e6cd82a1
commit
2e50d4392f
1 changed files with 2 additions and 2 deletions
|
|
@ -33,9 +33,9 @@ import (
|
||||||
|
|
||||||
// delDbCmd represents the set command
|
// delDbCmd represents the set command
|
||||||
var delDbCmd = &cobra.Command{
|
var delDbCmd = &cobra.Command{
|
||||||
Use: "delete-db DB",
|
Use: "del-db DB",
|
||||||
Short: "Delete a database.",
|
Short: "Delete a database.",
|
||||||
Aliases: []string{"del-db", "rm-db", "remove-db"},
|
Aliases: []string{"delete-db", "rm-db", "remove-db"},
|
||||||
Args: cobra.ExactArgs(1),
|
Args: cobra.ExactArgs(1),
|
||||||
RunE: delDb,
|
RunE: delDb,
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue