This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
get-open-prs with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
npm install -g get-open-prsto install globally and to be able to use the keyboard shortcut anywhere.
notifications, public_repo, read:org, read:packages, read:user.
get-open-prs, you'll be prompted to set a default list of Github usernames and your Github personal access token. You'll be able to update this later by running
get-open-prs --configor overriding with
--tokencommand options detailed below.
get-open-prsin any directory.
get-open-prscommand, a prompt will appear for you to select a specific pr to review,
all open prs(opens link in github displaying all prs), or
noneto exit the flow. Once you hit enter, your default browser will open the pr.
get-open-prsif that's too many letters to type out. Simply edit
~/.zprofile(if you use zsh) and add the following:
In the above,
gop is the new shorter command. This could really be anything.
|Skip Github requests and open browser with all open prs|
|Set up default Github token and usernames|
|Restrict to repos owned by specific orgs or users|
|Token. Overrides any saved default Github token|
|Usernames. Overrides any saved default usernames|
|Verbose. Print out pull request details|
get-open-prs --usernames "user1 user2 user3 user4"
get-open-prs --usernames user1
get-open-prs --usernames "user1 user2" --owners my-awesome-org