Skip to content

Repository slug

The CLI must know which GitHub repo to use (owner/name).

Resolution order:

Priority Source
1 GITHUB_REPO environment variable
2 .envGITHUB_REPO=owner/repo
3 tracker/github_repo — one line (created by adopt.py)

Cross-platform (Python 3):

python -c "from pathlib import Path; Path('tracker/github_repo').write_text('myorg/my-app\n')"

Option B — .env

GITHUB_REPO=myorg/my-app
GITHUB_TOKEN=github_pat_...

Option C — one-time override

python scripts/github_issue.py --repo myorg/my-app list

First commands

After token and slug are set:

python scripts/github_issue.py labels --apply
python scripts/github_issue.py list

Works the same on Windows, macOS, and Linux.