mirror of
https://gitea.com/gitea/tea.git
synced 2026-09-11 07:56:35 -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> |
||
|---|---|---|
| .. | ||
| comments.go | ||
| issue_create.go | ||
| issue_edit.go | ||
| login.go | ||
| login_test.go | ||
| milestone_create.go | ||
| print.go | ||
| prompts.go | ||
| pull_create.go | ||
| pull_merge.go | ||
| pull_review.go | ||