command module
Version: v0.0.0-...-a430e6a Latest Latest

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2019 License: MIT Imports: 15 Imported by: 0


Go Report Card CircleCI


cli tool for managing pull requests on GitHub (Only Open Pull Request).


1 . using go get or homebrew

using homebrew

$ brew tap yutaroyamanaka/gopr
$ brew install gopr

using go get

$ export PATH=$PATH:$GOPATH/bin
$ go get
$ ln -s $GOPATH/bin/gopr ~/bin

2 . set GitHub access token

$ curl -u 'your github account name' -d '{"scopes":["repo"],"note":"Help example"}'

  "scopes": [
  "token": "your_token", <-- This one !
  "app": {
    "url": "",
    "name": "Help example (API)"
  "url": "",
  "note": "Help example",
  "note_url": null,
  "id": 123456,
export GITHUB_TOKEN="your_token"


There are three kinds of command in gopr.

$ gopr --help
1. gopr info

gopr info is the command to get information about pull requests you mention.

You have to specify -o and -r definitely.

$ gopr -o docker -r compose info

to get the detail, you can add -n option.

$ gopr -o docker -r compose -n 6584 info
2. gopr diff

gopr diff is the command to check the file changes.

You have to specify all options definitely to use this command.

$ gopr -o docker -r compose -n 6584 diff
3. gopr create

gopr create is the command to create new pull request.

You have to specify -o and -r option definitely.

$ gopr -o yutaroyamanaka -r gopr create


This software is released under the MIT License, see LICENSE.


The Go Gopher

There is no documentation for this package.


Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL