This is a simple tool to collect PRs from multiple GitHub repositories.
deno install --allow-net --allow-env -f --name pr-collector https://raw.githubusercontent.com/hakshu25/pr-collector/main/src/main.ts
Need to set the following environment variables before using this tool.
export GITHUB_USER_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
$ pr-collector --help
Usage: pr-collector [options]
Version: 1.0.0
Description:
Collect PRs from multiple GitHub repositories.
Options:
-h, --help - Show this help.
-V, --version - Show the version number for this program.
-s, --state <state> - Filter PRs by state. Default to "open". (Default: "open", Values: "open", "closed")
-u, --user <user> - GitHub user name. Default to the authenticated user.
-l, --limit <limit> - Limit the number of PRs to fetch. Default to 100. (Default: 100)
Environment variables:
GITHUB_USER_TOKEN <token> - GitHub Personal Access token. (required)