@ryan_nookpi/pi-extension-open-pr
v0.1.0
Published
Open the current branch pull request in your browser via GitHub CLI.
Readme
open-pr
Open the current branch's pull request in your browser via GitHub CLI.
What it does
Registers a /open-pr command that:
- Detects the current git branch
- Looks up the associated PR using
gh pr view --json url - Opens the PR URL in your default browser
Works on macOS (open), Linux (xdg-open), and Windows (cmd /c start).
Prerequisites
- GitHub CLI (
gh) installed and authenticated - A git repository with a remote
Install
pi install npm:@ryan_nookpi/pi-extension-open-pr