gitea-cli
Tiny stdlib-only Python helper for common operations against the local self-hosted Gitea instance.
Defaults:
GITEA_URL=http://192.168.33.22:3300GITEA_USER=gemma
Credentials are read at runtime from:
GITEA_TOKENGITEA_PASSWORD/root/PASSWORD.mdline matchinggitea <password>
Install
sudo install -m 0755 gitea-cli /usr/local/bin/gitea-cli
sudo ln -sf /usr/local/bin/gitea-cli /usr/local/bin/gitea
Usage
gitea version
gitea list
gitea list --json
gitea get arcana-fx
gitea create my-repo --description "description" --private
gitea create my-repo --dry-run
Description
Languages
Python
100%