aliases for destroy

This commit is contained in:
Mr. Is 2016-07-28 07:56:10 -04:00
parent 2bbfe9ff19
commit b53cbe0174
2 changed files with 3 additions and 2 deletions

View File

@ -9,6 +9,7 @@ import (
// destroyCmd represents the destroy command // destroyCmd represents the destroy command
var destroyCmd = &cobra.Command{ var destroyCmd = &cobra.Command{
Aliases: []string{"d", "delete", "rid"},
Use: "destroy [username repo-name | username/repo-name]", Use: "destroy [username repo-name | username/repo-name]",
Short: "Destroy a repo.", Short: "Destroy a repo.",
Long: `destroy [username repo-name | username/repo-name] Long: `destroy [username repo-name | username/repo-name]

BIN
gogs

Binary file not shown.