From e10ed3d6e0da21b33c556d9a043ff58b2315e83a Mon Sep 17 00:00:00 2001 From: Andreas Ulm Date: Tue, 16 Apr 2019 08:01:51 +0200 Subject: [PATCH] add -r & -l to subcommand create (#12) Signed-off-by: Andreas Ulm --- cmd/releases.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/cmd/releases.go b/cmd/releases.go index f8dfbe1..0285e5c 100644 --- a/cmd/releases.go +++ b/cmd/releases.go @@ -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", + }, }, }