mirror of
https://gitea.com/gitea/tea.git
synced 2026-09-10 15:36:37 -04:00
Same hole and same shape as the merged pulls fix (#1111): --output parses on issues create through the urfave/cli v3 ancestor-flag cascade but was never read, so the action always printed glamour markdown plus a second bare URL line. task.CreateIssue now returns the created issue and the cmd layer switches on --output, emitting compact lean JSON (index, title, url, state), matching the post-review shape of writeCreatedPullAsJSON. Without the flag the output stays byte-identical: the same print.IssueDetails and HTMLURL println calls just moved to the callers. Signed-off-by: Danilo Sousa <code@danilosousa.net> |
||
|---|---|---|
| .. | ||
| close.go | ||
| create.go | ||
| create_test.go | ||
| edit.go | ||
| list.go | ||
| list_test.go | ||
| reopen.go | ||