From aff4d5324a00fafa0b28ceff1784d8a380517260 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 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", + }, }, }