@dave-bernhard/reviews-cli
v1.0.0
Published
A CLI for seeing how many open review requests your colleagues have, and then assigning them to the PR.
Maintainers
Readme
Reviews CLI
A command-line tool to help manage GitHub pull request reviews and reviewer assignments.
Installation
This tool requires Node. Only tested on v20 and v22, but v18 probably works too.
npm install -g @dave-bernhard/reviews-cliUsage
List Review Requests
View the number of open review requests for each team member:
reviews listAssign Reviewers
Assign reviewers to your current pull request:
reviews assignThis command will:
- Find your current branch's pull request
- Show you a list of potential reviewers
- Allow you to select reviewers
- Add/remove reviewers as needed
Configure
Set up your GitHub configuration. You will have to do this se the CLI knows which repo and org to look at. You can also choose your "favourite" reviewers. These will appear at the top when org members are listed.
Configuration is saved to ~/.reviews/config.json and is removed with the reviews clean command.
reviews configureLogin
Authenticate with GitHub:
reviews loginThe tool currently requires a Personal Access Token (PAT) for Github.
Clean
Remove all configuration data:
reviews clean