| Crates.io | wtg-cli |
| lib.rs | wtg-cli |
| version | 0.3.0 |
| created_at | 2025-11-03 14:46:41.006338+00 |
| updated_at | 2026-01-20 01:05:25.652631+00 |
| description | A snarky but helpful CLI tool to identify git commits, issues, PRs and file changes, and tell you which release they shipped in |
| homepage | |
| repository | https://github.com/mishamsk/wtg |
| max_upload_size | |
| id | 1914742 |
| size | 385,872 |
A snarky but helpful CLI tool to identify git commits, issues, PRs and file changes, and tell you which release they shipped in. Because sometimes you just need to know what the git is going on!
A totally vibe-coded tool, so do not blame me if it hurts your feelings. 😄
Try it yourself!
uvx --from wtg-cli wtg https://github.com/go-task/task/issues/1322
Run the (python) CLI without installing anything permanently:
uvx --from wtg-cli wtg --help
Or install it as a global tool (works on macOS, Linux, and Windows):
uv tool install wtg-cli
wtg --help
cargo install wtg-cli
Simply run wtg with any of the following:
# Find a commit by hash
wtg c62bbcc
# Find an issue or PR
wtg 123
wtg #123
# Find a file
wtg Cargo.toml
# Find a tag
wtg v1.2.3
# Check if a commit is in a specific release
wtg c62bbcc v2.0.0
# Skip pre-releases when finding the first release
wtg c62bbcc -S
# Fetch latest tags from remote before querying
wtg c62bbcc --fetch
Query any GitHub repository without cloning it first:
# Using -r flag with owner/repo
wtg -r astral-sh/uv 0.5.0
# Using full GitHub URL
wtg -r https://github.com/astral-sh/uv v0.5.0
# Paste any GitHub URL directly
wtg https://github.com/astral-sh/uv/commit/abc123
wtg https://github.com/astral-sh/uv/issues/42
wtg https://github.com/astral-sh/uv/pull/123
wtg https://github.com/astral-sh/uv/blob/main/README.md
Note: Remote repositories are cached in your system's cache directory for faster subsequent queries. The cache uses --filter=blob:none (Git 2.17+) for minimal disk usage, with automatic fallback to bare clones on older Git versions. On macOS this lives under ~/Library/Caches/wtg/repos, on Linux it defaults to ~/.cache/wtg/repos, and on Windows it follows %LOCALAPPDATA%\wtg\repos.
🔍 Found commit: c4e0cc8e98d3
💻 The Commit:
Hash: c4e0cc8
👤 Who wrote this gem:
mishamsk (5206955+mishamsk@users.noreply.github.com)
🔗 https://github.com/mishamsk
📝 ⬇️ reduce msrv
📅 2024-11-07 03:37:26
🔗 https://github.com/mishamsk/sas-lexer/commit/c4e0cc8e98d3e786916ac811c5617ecb68d1a6fd
📦 First shipped in:
🎉 rust-v1.0.0-beta.3 (rust-v1.0.0-beta.3)
📅 2024-11-08 03:03:21 U
🔗 https://github.com/mishamsk/sas-lexer/releases/tag/rust-v1.0.0-beta.3
For better rate limits, set a GitHub token:
Environment variable (recommended):
export GITHUB_TOKEN=ghp_your_token_here
GitHub CLI: wtg automatically reads from ~/.config/gh/hosts.yml if you have gh installed
Anonymous: Works without auth but has lower rate limits (60 requests/hour)
MIT
Found a bug? Want to add a snarky message? PRs welcome! Just make sure to keep the snark levels high and the code quality higher.