Add a way to output the `--dry-run` flag as a JSON
Open
enhancement
gh-pr
needs-product
needs-triage
- Dominant language
- Go
- Stars
- 46.3k
- Forks
- 9k
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 89
Description
### Describe the feature or problem you’d like to solve
It would be great if I could run something like
```
gh pr create --dry-run --json
```
and get the output as a json.
This feature would help a lot when creating libraries that wrap the gh cli project.
### Proposed solution
I've yet to look at the source code, but I guess that the json creation part has already been done (since I suppose that github uses JSON for its API)
Contributor guide
Assessment
This issue has not been assessed yet.