gum/examples/pull-request.sh
Maas Lalani b95962f5b5
docs(examples): Add script to list and checkout PRs on GitHub
Allows listing all PRs on a repository and checkout the selected pull request.
2022-08-01 13:01:54 -04:00

6 lines
118 B
Bash
Executable file

#!/bin/sh
# List all pull requests and checkout the branch
gh pr list | gum choose | cut -f1 | xargs gh pr checkout