https://github.com/Wowu/pro Skip to content Sign up * Product + Features + Mobile + Actions + Codespaces + Copilot + Packages + Security + Code review + Issues + Discussions + Integrations + GitHub Sponsors + Customer stories * Team * Enterprise * Explore + Explore GitHub + Learn and contribute + Topics + Collections + Trending + Skills + GitHub Sponsors + Open source guides + Connect with others + The ReadME Project + Events + Community forum + GitHub Education + GitHub Stars program * Marketplace * Pricing + Plans + Compare plans + Contact Sales + Education [ ] * # In this repository All GitHub | Jump to | * No suggested jump to results * # In this repository All GitHub | Jump to | * # In this user All GitHub | Jump to | * # In this repository All GitHub | Jump to | Sign in Sign up {{ message }} Wowu / pro Public * Notifications * Fork 2 * Star 10 [?][?]A single command to quickly open current PR in browser. Supports GitHub and GitLab. License MIT license 10 stars 2 forks Star Notifications * Code * Issues 0 * Pull requests 0 * Actions * Security * Insights More * Code * Issues * Pull requests * Actions * Security * Insights Wowu/pro This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. main Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags 1 branch 5 tags Code Latest commit @Wowu Wowu docs: new readme with demo gif ... c1cb715 Jul 21, 2022 docs: new readme with demo gif c1cb715 Git stats * 44 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time .github/workflows ci: add name to release action Jul 20, 2022 bin feat: add --version switch Jul 21, 2022 commands feat: use blue urls for PR creation urls Jul 20, 2022 config fix: save config for the first time on windows (#4) Jul 20, 2022 providers feat: pass source branch in provider api calls to reduce response size ( Jul 20, 2022 .editorconfig chore: Add LICENSE and editorconfig Jul 1, 2022 .gitignore ci: use GoReleaser for building releases Jul 20, 2022 .goreleaser.yaml build: don't include version in binary names for easier installation Jul 20, 2022 LICENSE chore: Add LICENSE and editorconfig Jul 1, 2022 README.md docs: new readme with demo gif Jul 21, 2022 go.mod chore: add github.com prefix to package module Jul 20, 2022 go.sum chore: update dependencies Jul 20, 2022 pro.gif docs: new readme with demo gif Jul 21, 2022 pro.go feat: add --version switch Jul 21, 2022 pro.png docs: add terminal screenshot to README.md Jul 21, 2022 View code [ ] pro - Pull Request Opener Demo Usage Authorize GitHub / GitLab Open Pull Request in default browser Installation Homebrew (macOS/Linux) Scoop (Windows) dpkg (Ubuntu/Debian) Download latest binary (Linux) Go package Compile from source Precompiled binaries README.md pro - Pull Request Opener [6874747073] [6874747073] A single command to open current PR in browser. Supports GitHub and GitLab. Available for macOS, Linux and Windows. pro * Demo * Usage + Authorize GitHub / GitLab + Open Pull Request in default browser * Installation + Homebrew (macOS/Linux) + Scoop (Windows) + dpkg (Ubuntu/Debian) + Download latest binary (Linux) + Go package + Compile from source + Precompiled binaries Demo pro Usage Authorize GitHub / GitLab pro uses GitHub or GitLab API to find Pull Request related to current branch. Access is granted via personal access tokens. Use auth command to login: # GitHub pro auth github # GitLab pro auth gitlab You will be asked to generate access token and paste it. Tokens are stored in ~/.config/pro/config.yml by default. Open Pull Request in default browser To open current Pull Request simply type: pro If you're on the main branch (main, master, trunk, etc.) repository homepage will be opened instead. If no PR matching current branch is found, a URL to create new Pull Request will be printed. Use -p | --print flag to print the Pull Request URL instead of opening it in default browser: pro -p Installation Homebrew (macOS/Linux) brew install wowu/tap/pro Scoop (Windows) scoop bucket add wowu https://github.com/wowu/scoop.git scoop install wowu/pro dpkg (Ubuntu/Debian) 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. Download latest binary (Linux) 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 package 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). Compile from source 1. Install Go 1.18 (brew install go or see offical docs) 2. Clone the repository and build the project: git clone git@github.com:Wowu/pro.git && cd pro go build Precompiled binaries Download binaries from the releases page. About [?][?]A single command to quickly open current PR in browser. Supports GitHub and GitLab. Topics github go gitlab terminal command-line pull-requests Resources Readme License MIT license Stars 10 stars Watchers 1 watching Forks 2 forks Releases 5 pro v0.1.4 Latest Jul 20, 2022 + 4 releases Packages 0 No packages published Contributors 2 * @Wowu Wowu Karol Musur * @mateossh mateossh Mateusz Z Languages * Go 95.7% * Shell 4.3% Footer (c) 2022 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.