revq is a command-line tool designed to streamline the process of reviewing, searching, and filtering GitHub pull requests.
- List pull requests with ease
- Filter pull requests by author
- Filter pull requests by organization
- List pull requests where a review is requested
- Select and open multiple pull requests simultaneously in your default browser
- User-friendly command-line interface
You can install revq using one of the following methods:
If you have Rust's package manager, Cargo, installed, you can install revq with:
cargo install revqFor macOS users, you can install revq using Homebrew:
brew install k3ii/tap/revqCheck the release page to install the pre-built binaries.
The general syntax for using revq is:
revq [OPTIONS] [COMMAND]-u, --username <USERNAME>Specify GitHub username-o, --orgUse organization PRs-r, --reqShow PRs where review is requested--allShow all PRs for organization (only works with --org)-h, --helpPrint help information-V, --versionPrint version information
List your pull requests:
revqList pull requests for a specific user:
revq -u usernameList your pull requests for your organization:
revq -oList pull requests for a specific user in your organization:
revq -o -u usernameList pull requests where your review is requested:
revq -rList pull requests where your review is requested in your organization:
revq -r -oList all pull requests for your organization:
revq -o --allTo get started with revq, follow these steps:
- Generate a GitHub Personal access tokens (Fine-grained token) with Content permission having Read-only access.
- Initialize
revqwith your GitHub token:
revq init- Follow the prompts to enter your GitHub username, token and organization optionally.
To reinitialize or update your configuration:
revq init --forcerevq was born out of a desire to learn Rust programming and improve upon a simple bash script created by my mentor.
revq offers several advantages over similar tools like gh pr:
- Can be run from any directory in your terminal
- Allows filtering of pull requests based on author and organization
- Enables selection and opening of multiple PRs simultaneously
- Written in Rust for performance and reliability
We have exciting plans for future enhancements to revq:
- Allow filtering by mentions
- Allow filtering by assignees
- Support for multiple organizations
Contributions are welcome to revq! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
If you encounter any problems or have any questions, please open an issue on our GitHub repository.