π₯³ Release v0.0.1 - git-pr π
A Friendly Git CLI companion for reviewing, diffing, and pulling GitHub pull requests right from your terminal.
β¨ Features
- π List open pull requests in the current repository
- π₯ Pull a PR into a local branch
- π Show diffs for a PR against main
- π Submit an approval review on a pull request
- π Verbose debug mode for transparency during GitHub API interactions
π οΈ Under the Hood
- βοΈ Uses GitHub REST API for PR listing and review submission.
- π¦ Uses clap for elegant CLI parsing.
- π¨ Colorful, emoji-enhanced output via colored.
- π Debug logging with DEBUG=true git-pr ....
π Requirements
- Git installed and configured.
- Environment variable
GITHUB_TOKENmust be set with repo permissions.
β οΈ Known Limitations
- Only GitHub is supported for now.
- Cannot approve your own PRs (GitHub API restriction).
- Assumes origin is the Git remote of interest.
β€οΈ Special Thanks
Thanks to the hours of frustration caused by switching between gh, GitHub UI, and git just to review simple PRs β this tool was born out of necessity and caffeine. A lot can be done with this and I feel I will keep improving this.