sup

command module
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2026 License: MIT Imports: 10 Imported by: 0

README

sup

Go Release

A terminal UI for browsing and checking out GitHub PRs.

sup screenshot

Requirements

  • gh CLI (authenticated via gh auth login)

Install

curl -sSL https://raw.githubusercontent.com/superultrainc/sup/main/install.sh | bash

Or with Go (requires manual shell setup):

go install github.com/superultrainc/sup@latest

If using go install, add this to your ~/.zshrc or ~/.bashrc for auto-cd after checkout:

sup() {
  rm -f /tmp/sup-selection
  command sup "$@"
  if [[ -f /tmp/sup-selection ]]; then
    cd "$(cat /tmp/sup-selection)"
    rm -f /tmp/sup-selection
  fi
}

Usage

sup          # Show PRs from your GitHub organizations (auto-detected)
sup --mine   # Show PRs you're involved in (authored, reviewing, mentioned)

Zero config required - sup automatically detects your GitHub organizations.

Select a PR and press Enter to check it out locally.

Keybindings

Key Action
j / Move down
k / Move up
g Go to top
G Go to bottom
/ Filter PRs (prefix with @ to filter by reviewer)
r Filter to your review requests
o Open PR in browser
O Open all PRs needing review in browser
Enter Checkout PR
q / Esc Quit

Configuration (optional)

Variable Description Default
SUP_ORG Override org detection (comma-separated) auto-detected
SUP_DEV_DIR Override repo location search auto-detected

Repos are automatically found in: ~/Development, ~/dev, ~/projects, ~/code, ~/src, ~/repos, ~/github, ~/git, ~

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL