Install using pip:
pip install github-rest-cliInstall using uv:
uv pip install github-rest-cliSet up python package dependencies in pyproject.toml:
uv syncAfter sync the project, activate virtualenv in .venv directory:
source .venv/bin/activateTo list all installed packages, run:
uv pip listExport your GitHub PAT as environment variable:
export GITHUB_AUTH_TOKEN="<github-auth-token>"Run cli:
github-rest-cli -vThis python cli app uses dynaconf to manage secrets and environment variables.
So that you can use your secrets and environment variables declared in settings.toml or .settings.toml, use the GITHUB prefix value of envvar_prefix declared in config.py.
List all defined parameters:
just dlValidate all defined parameters:
just dvNOTE: To run dynaconf validate dynaconf_validators.toml should exist.
Run lint:
just lintRun format:
just fmt