Skip to content

lbrealdev/github-rest-cli

Repository files navigation

github-rest-cli

PyPI Python CI License: MIT

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.

Installation

With pip:

pip install github-rest-cli

With uv:

uv pip install github-rest-cli

Requires Python 3.11.5 or newer.

Authentication

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.

Quick start

github-rest-cli --version
github-rest-cli --help
github-rest-cli repo list
github-rest-cli repo get --name my-repo
github-rest-cli repo create --name my-new-repo --private

Commands

Full command reference: CLI guide.

github-rest-cli repo --help
github-rest-cli dependabot --help
github-rest-cli environment --help

Contributing

See CONTRIBUTING.md for local development, testing, linting, and Dynaconf tooling.

Links

About

A Python CLI tool for interacting with the GitHub REST API.

Topics

Resources

Contributing

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages