From 3662d21c996f8cc20a38765bfe3f3c5914824f31 Mon Sep 17 00:00:00 2001 From: claude_code Date: Wed, 24 Jun 2026 05:15:52 +0300 Subject: [PATCH] docs(agents): add Gitea tea CLI usage for creating issues MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add a new “Creating issues (Gitea `tea` CLI)” section to AGENTS.md that documents how to file issues using the `tea` command‑line tool, including the correct flag for the issue body and a gotcha note about the `--description` flag. --- AGENTS.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 48a282ad..743ae57d 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -157,6 +157,19 @@ below. | `origin` | GitHub mirror `vvzvlad/gitmost` — **do not push**, updated by the owner's CI | | `upstream` | The original Docmost — **never push** | +## Creating issues (Gitea `tea` CLI) + +Issues are filed with the official Gitea CLI `tea`, already logged in as +`claude_code` (`tea logins list` shows the `gitea` login as default): + +```bash +tea issues create --repo vvzvlad/gitmost --labels feature \ + --title '' --description "$(cat body.md)" +``` + +> Gotcha (tea 0.14.1): the issue body flag is `--description`/`-d`, **not** +> `--body` — passing `--body` fails with `flag provided but not defined: -body`. + --- # Architecture and codebase