docs(agents): add Gitea tea CLI usage for creating issues
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.
This commit is contained in:
13
AGENTS.md
13
AGENTS.md
@@ -157,6 +157,19 @@ below.
|
|||||||
| `origin` | GitHub mirror `vvzvlad/gitmost` — **do not push**, updated by the owner's CI |
|
| `origin` | GitHub mirror `vvzvlad/gitmost` — **do not push**, updated by the owner's CI |
|
||||||
| `upstream` | The original Docmost — **never push** |
|
| `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 '<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
|
# Architecture and codebase
|
||||||
|
|||||||
Reference in New Issue
Block a user