2.2.9 • Published 4 years ago

get-open-prs v2.2.9

Weekly downloads
5
License
MIT
Repository
github
Last release
4 years ago

get-open-prs

CircleCI nycrc config on GitHub node-current

Installation

  1. npm install -g get-open-prs to install globally and to be able to use the keyboard shortcut anywhere.
  2. Get a Github personal access token here. You'll want the following permissions: notifications, public_repo, read:org, read:packages, read:user.
  3. The first time you run 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 --config or overriding with --usernames or --token command options detailed below.

Instructions

  • You can get the current open prs for your team by typing get-open-prs in any directory.
  • After typing the get-open-prs command, a prompt will appear for you to select a specific pr to review, all open prs (opens link in github displaying all prs), or none to exit the flow. Once you hit enter, your default browser will open the pr.
  • You'll then be given the option to continue reviewing other prs.
  • Optionally, you can create an alias for get-open-prs if that's too many letters to type out. Simply edit ~/.bash_profile or ~/.zprofile (if you use zsh) and add the following:
alias gop="get-open-prs"

In the above, gop is the new shorter command. This could really be anything.

Options

OptionDescriptionDefaultRequired
-a, --allSkip Github requests and open browser with all open prsnullfalse
-c, --configSet up default Github token and usernamesnullfalse
-o, --ownersRestrict to repos owned by specific orgs or usersnullfalse
-t, --tokenToken. Overrides any saved default Github tokenconfig or nullfalse
-u, --usernamesUsernames. Overrides any saved default usernamesconfig or nullfalse
-v, --verboseVerbose. Print out pull request detailsfalsefalse

Examples

Use default github and usernames configuration and get all prs

get-open-prs

Update token or usernames default configuration

get-open-prs --config

Pass in multiple usernames override

get-open-prs --usernames "user1 user2 user3 user4"

Pass in one single usernames override

get-open-prs --usernames user1

Go nuts

get-open-prs --usernames "user1 user2" --owners my-awesome-org 

Screenshot

screenshot

2.2.9

4 years ago

2.2.8

4 years ago

2.2.7

4 years ago

2.2.5

4 years ago

2.2.6

4 years ago

2.2.1

4 years ago

2.2.0

4 years ago

2.2.3

4 years ago

2.2.2

4 years ago

2.2.4

4 years ago

2.1.0

4 years ago

2.0.3

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.3.19

5 years ago

1.3.18

5 years ago

1.3.17

5 years ago

1.3.16

5 years ago

1.3.15

5 years ago

1.3.14

5 years ago

1.3.13

5 years ago

1.3.12

5 years ago

1.3.11

5 years ago

1.3.10

5 years ago

1.3.9

5 years ago

1.3.8

5 years ago

1.3.7

5 years ago

1.3.6

5 years ago

1.3.5

5 years ago

1.3.4

5 years ago

1.3.3

5 years ago

1.3.2

5 years ago

1.3.1

6 years ago

1.3.0

7 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago