pr-status
Command line utility to check the status of open pull requests of an organization.
Installation
Install pr-status using npm
$ npm install -g pr-status
Note: This package only works with Github and the minimum supported Node version is v6.16.0 by default.
Usage
Before starting please make sure you have GitHub personal access token
- By passing flag i.e. command line arguments.
$ pr-status --org 'organizationName' --token 'personalAccessToken'
- By setting Environment Variables.
$ export PR_STATUS_ORG='organizationName'$ export PR_STATUS_TOKEN='personalAccessToken'$ pr-status
Note: prs
can also be used to run the command instead of pr-status
.
Tests
$ npm test
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.