Read-only GitHub reviewer CLI: triage, re-review diffs, comment threads
Project description
twgh
Read-only GitHub reviewer CLI: triage what needs you, re-review only what changed since you last looked (force-push robust), and see which of your comments were addressed — across github.com and GitHub Enterprise.
Prerequisites
- The GitHub CLI
gh, authenticated for each host you review on:gh auth login --hostname <host>. twgh borrows gh for auth, host routing, and transport; it never handles your token.
Install
make install # uv tool install -e . + bash completion
Commands
| Command | What |
|---|---|
twgh status |
Cross-repo rollup of PRs needing your review; ★ marks PRs that moved since your last run. |
twgh diff <ref> |
Diff of the files you commented on, since your last review (--all for the whole PR). Force-push robust. |
twgh comments <ref> |
All comments, chronological (--by <user>, --mine, --all). |
twgh threads [<ref>] |
Open conversations with a resolved / changed / untouched verdict. No <ref> = global inbox across repos. |
twgh open <ref> |
Open the PR in a browser (for the write-actions twgh stays out of). |
<ref> is a PR URL, host/owner/repo#N (the form status prints — paste it
straight back), owner/repo#N, owner/repo/N, or a bare number inside a repo.
Host selection
-H/--gh-host overrides $GH_HOST, which defaults to github.com. Works as a
global option (twgh -H bmw.ghe.com status) or per command.
The re-review verdict
twgh threads classifies each open conversation by what GitHub knows:
✓ resolved— the thread is marked resolved~ changed— your anchored code moved since you commented (look withtwgh diff)· untouched— your point still stands as written
Development
make test # pytest + coverage (floor 85%)
make static-analysis # ruff lint-fix, format, ty
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file twgh-0.1.1.tar.gz.
File metadata
- Download URL: twgh-0.1.1.tar.gz
- Upload date:
- Size: 14.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d11e8e67639e3b80261fa3f8bea96151a15b5a754aaa51ac209b1bad21c632ef
|
|
| MD5 |
84f5439a181ffc2c5ed96a1ea790fe0d
|
|
| BLAKE2b-256 |
b116fa83833fe99ca7367f210c9e66070e09ffe7dc598730f82be1363cccddb9
|
File details
Details for the file twgh-0.1.1-py3-none-any.whl.
File metadata
- Download URL: twgh-0.1.1-py3-none-any.whl
- Upload date:
- Size: 15.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
949ea081ddd7b03a3298fa5bc858be940945802c107f46c115e27c6c8e06afd5
|
|
| MD5 |
da4c7420858335af6cf0651536dbcbc5
|
|
| BLAKE2b-256 |
007e505a603ea8c1777826e876fe2921b3e9a1bca5d9c3a118cf71b8601dd20c
|