issue create return web url (#257)

Update SDK

Use OptionalBool helper

Fix #254

Reviewed-on: https://gitea.com/gitea/tea/pulls/257
Reviewed-by: John Olheiser <john.olheiser@gmail.com>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Co-Authored-By: 6543 <6543@obermui.de>
Co-Committed-By: 6543 <6543@obermui.de>
This commit is contained in:
6543
2020-12-01 13:07:23 +08:00
committed by techknowlogick
parent e6fbba3f80
commit 476900ab41
14 changed files with 80 additions and 109 deletions

View File

@ -56,6 +56,6 @@ func runIssuesCreate(ctx *cli.Context) error {
}
print.IssueDetails(issue)
fmt.Println(issue.URL)
fmt.Println(issue.HTMLURL)
return nil
}