@ryan_nookpi/pi-extension-open-pr

extensionmaintained

Open the current branch pull request in your browser via GitHub CLI.

by · v0.2.4 · published 3w ago

$ pi install npm:@ryan_nookpi/pi-extension-open-pr
downloads/mo
398
stars
21
last push
1d ago
open issues
2

Signals

license: MITtestspi manifest: missinginstall size: —deps: 0peer deps: 0

Download trend

689 downloads · last 12 weeks (weekly)

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:

  1. Detects the current git branch
  2. Looks up the associated PR using gh pr view --json url
  3. 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