Provide a simple REPL for the selected PRs.
You'd need this if PRs are part of your workflow and you dislike pointing and clicking.
$ gh extension install nobe4/gh-pr-repl- Ruby
pbcopyopentmux
With a single branch:
$ gh pr-repl
# Will use the PR associated with the current branch.
$ gh pr-repl cli/cli/demo-branch
# Will use the PR associated with https://github.com/cli/cli/tree/demo-branch
$ gh pr-repl https://github.com/cli/cli/pull/1
# Will use https://github.com/cli/cli/pull/1With many branches:
$ gh pr-repl cli/cli/demo-branch https://github.com/cli/cli/pull/1
# Will use the PR associated with https://github.com/cli/cli/tree/demo-branch
# and https://github.com/cli/cli/pull/1Getting assistance:
$ gh pr-repl
cli/cli/demobranch > h
# shows the helpSome ideas:
- Adding formatting checks in an action.
- Adding contribution guide.
- Adding specs.
- Removing
pbcopydependency. - Removing
tmuxdependency. - Having a better way to define commands, i.e. not in
@@commandsand as methods later. - Add more