A Python CLI for common GitHub REST API operations—list and inspect repositories, create or delete them, manage Dependabot security settings, and create deployment environments.
With pip:
pip install github-rest-cliWith uv:
uv pip install github-rest-cliRequires Python 3.11.5 or newer.
See Authentication for PAT scopes and how to set GITHUB_AUTH_TOKEN (or .secrets.toml).
For API URL overrides, settings files, and Dynaconf environments, see Configuration.
github-rest-cli --version
github-rest-cli --helpgithub-rest-cli repo list
github-rest-cli repo get --name my-repo
github-rest-cli repo create --name my-new-repo --privateFull command reference: CLI guide.
github-rest-cli repo --help
github-rest-cli dependabot --help
github-rest-cli environment --helpSee CONTRIBUTING.md for local development, testing, linting, and Dynaconf tooling.