A single command to open current PR in browser. Supports GitHub and GitLab.
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.
brew install wowu/tap/pro
scoop bucket add wowu https://github.com/wowu/scoop.git
scoop install wowu/pro
wget https://github.com/wowu/pro/releases/latest/download/pro-linux-amd64.deb
dpkg -i pro-linux-amd64.deb
Replace amd64
with arm64
if you are on ARM.
curl -sSL -o /usr/local/bin/pro https://github.com/wowu/pro/releases/latest/download/pro-linux-amd64
chmod +x /usr/local/bin/pro
Replace amd64
with arm64
if you are on ARM.
go install github.com/wowu/pro@latest
Go 1.18 is required. pro
binary will be installed in $GOPATH/bin
(most likely ~/go/bin/pro
).
-
Install Go 1.18 (
brew install go
or see offical docs) -
Clone the repository and build the project:
git clone git@github.com:Wowu/pro.git && cd pro go build
Download binaries from the releases page.