diff --git a/AGENTS.md b/AGENTS.md index d9f3c4f..fcab2ae 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -27,6 +27,47 @@ rcli api_uri # Set API URI - Builds Arch Linux package (.pkg.tar.zst) - Publishes releases to Gitea +## Gitea / tea + +Login to the Gitea instance: +```bash +tea login add --name elordenador --url https://git.elordenador.org +``` + +### Issues +```bash +tea issues # List issues +tea issues create # Create new issue +tea issues close # Close an issue +``` + +### Pull Requests +```bash +tea pr # List pull requests +tea pr create # Create PR +tea pr checkout # Checkout PR locally +tea pr merge # Merge a PR +``` + +### Actions (Workflows) +```bash +tea actions info # Show workflow info +tea actions list # List workflow runs +tea actions logs # View logs for a run +tea actions re-run # Re-run a failed workflow +``` + +### Releases +```bash +tea release # List releases +tea release create # Create a release +``` + +### API +```bash +tea api GET /api/v1/repos/RedSocial/cli/releases +``` + ## Available Skills - python-patterns - python-testing-patterns @@ -34,4 +75,5 @@ rcli api_uri # Set API URI ## Notes - No test suite currently exists in the repo -- Config class supports dot-notation paths (e.g., `config.get("token")`) \ No newline at end of file +- Config class supports dot-notation paths (e.g., `config.get("token")`) +- Use `tea` (Gitea CLI) instead of `gh` for Gitea operations \ No newline at end of file