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

BIN
gogs

Binary file not shown.