From e10ed3d6e0da21b33c556d9a043ff58b2315e83a Mon Sep 17 00:00:00 2001 From: Andreas Ulm Date: Tue, 16 Apr 2019 08:01:51 +0200 Subject: [PATCH 1/2] 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", + }, }, } From 32dd252bc7c0958c2c16b75d437517b058cf96ce Mon Sep 17 00:00:00 2001 From: Andreas Ulm Date: Tue, 16 Apr 2019 08:01:51 +0200 Subject: [PATCH 2/2] 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 61cfe21..662dcfc 100644 --- a/cmd/releases.go +++ b/cmd/releases.go @@ -94,6 +94,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", + }, }, }