https://github.com/eopb/jj-gh-pr.nu
Nushell command for opening Jujutsu PRs with GitHub
https://github.com/eopb/jj-gh-pr.nu
Last synced: 6 months ago
JSON representation
Nushell command for opening Jujutsu PRs with GitHub
- Host: GitHub
- URL: https://github.com/eopb/jj-gh-pr.nu
- Owner: eopb
- License: mit
- Created: 2024-07-13T08:42:46.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-06T13:22:35.000Z (almost 2 years ago)
- Last Synced: 2025-04-01T20:37:37.886Z (over 1 year ago)
- Language: Nushell
- Size: 13.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jj-gh-pr.nu
[Nushell](https://www.nushell.sh/) command for quickly opening [Jujutsu](https://github.com/martinvonz/jj) PRs with [GitHub CLI](https://cli.github.com/).
```
> jj pr --help
Nushell command for opening Jujutsu PRs with GitHub
Usage:
> jj pr
Subcommands:
jj pr create (custom) - Create a PR for the current revision
jj pr merge (custom) - Merge an open PR
jj pr update base (custom) - Update a PRs base
jj pr update desc (custom) - Update a PR description with revision details
jj pr view (custom) - View details for a PR
Flags:
-h, --help: Display the help message for this command
Input/output types:
╭───┬───────┬────────╮
│ # │ input │ output │
├───┼───────┼────────┤
│ 0 │ any │ any │
╰───┴───────┴────────╯
```
This script is opinionated and contains some flags that may only be useful to me.
If others want to contribute, I'm open to making the script more general.
## Usage
Add the `jjpr` command to your shell
```nu
source jjpr.nu
```
Run `jj pr`
```
jj pr --help
```