[metadata] name = "tea-issues" description = "List Gitea issues for the current repo" requirements = ["tea", "jq"] [source] command = '''tea issues list --output json --state open 0 then "\u001b[36mLabels:\u001b[39m " + ([.labels[] | "\u001b[35m" + .name + "\u001b[39m"] | join(" ")) else empty end), "", "\u001b[90m────────────────────────────────────────────────────────────\u001b[39m", "", (.body // "") ' ''' [actions.close] description = "Close the selected issue" command = "tea issues close {strip_ansi|split:#:1|split:\t:0}" mode = "fork"