- name
- gitea
- description
- Interact with Gitea using the
teaCLI. Usetea issues,tea pulls,tea releases, and other commands for issues, PRs, releases, and repository management.
Gitea Skill
Use the tea CLI to interact with Gitea servers. Use --repo owner/repo when not in a git directory, or --login instance.com to specify a Gitea instance.
Setup
Add a login once to get started:
tea login addCheck current logged in user:
tea whoamiRepositories
List repositories you have access to:
tea repos listCreate a new repository:
tea repos create --name my-repo --description "My project" --initCreate a private repository:
tea repos create --name my-repo --private --initFork a repository:
tea repos fork owner/repoDelete a repository:
tea repos delete --name my-repo --owner myuser --forcePull Requests
List open pull requests:
tea pulls --repo owner/repoView a specific PR:
tea pr 55 --repo owner/repoCheckout a PR locally:
tea pr checkout 55Create a new PR:
tea pr create --title "Feature title" --description "Description"Issues
List open issues:
tea issues --repo owner/repoView a specific issue:
tea issue 189 --repo owner/repoCreate a new issue:
tea issue create --title "Bug title" --body "Description"View issues for a milestone:
tea milestone issues 0.7.0Comments
Add a comment to an issue or PR:
tea comment 189 --body "Your comment here"Releases
List releases:
tea releases --repo owner/repoCreate a new release:
tea release create --tag v1.0.0 --title "Release 1.0.0"Actions (CI/CD)
List repository action secrets:
tea actions secrets listCreate a new secret:
tea actions secrets create API_KEYList action variables:
tea actions variables listSet an action variable:
tea actions variables set API_URL https://api.example.comWebhooks
List repository webhooks:
tea webhooks listList organization webhooks:
tea webhooks list --org myorgCreate a webhook:
tea webhooks create https://example.com/hook --events push,pull_requestOther Entities
List branches:
tea branches --repo owner/repoList labels:
tea labels --repo owner/repoList milestones:
tea milestones --repo owner/repoList organizations:
tea organizationsShow repository details:
tea repo --repo owner/repoHelpers
Open something in browser:
tea open 189 # open issue/PR 189
tea open milestones # open milestones pageClone a repository:
tea clone owner/repoShow notifications:
tea notifications --mineOutput Formats
Use --output or -o to control output format:
tea issues --output simple # simple text output
tea issues --output csv # CSV format
tea issues --output yaml # YAML format