add -r & -l to subcommand create (#12)

Signed-off-by: Andreas Ulm <andreas.ulm@root360.de>
This commit is contained in:
Andreas Ulm 2019-04-16 08:01:51 +02:00
parent fb52920af9
commit e10ed3d6e0
1 changed files with 8 additions and 0 deletions

View File

@ -93,6 +93,14 @@ var CmdReleaseCreate = cli.Command{
Name: "asset, a",
Usage: "a list of files to attach to the release",
},
cli.StringFlag{
Name: "login, l",
Usage: "Indicate one login, optional when inside a gitea repository",
},
cli.StringFlag{
Name: "repo, r",
Usage: "Indicate one repository, optional when inside a gitea repository",
},
},
}