pro
- Pull Request Opener
A single command to open current PR in browser. Supports GitHub and GitLab.
Usage
Open Pull Request for current branch in browser:
pro
Print Pull Request URL instead of opening it:
pro -p
Authorize pro
to access your GitHub account:
pro auth github
Authorize pro
to access your GitLab account:
pro auth gitlab
Tokens are stored in ~/.config/pro/config.yml
by default.
Installation
Compile from source
Install go 1.18 (brew install go
or offical docs), then compile the binary from source with:
go install github.com/wowu/pro@latest
pro
binary will be installed in $GOPATH/bin
, most likely ~/go/bin/pro
.