cli / go-gh

A Go module for interacting with gh and the GitHub API from the command line.
https://pkg.go.dev/github.com/cli/go-gh/v2
MIT License
322 stars 45 forks source link

Skip JSON formatting when indent is "" #110

Closed heaths closed 1 year ago

heaths commented 1 year ago

Fixes #109

heaths commented 1 year ago

Fair. In this scenario, I was expecting a compact form but at long as the source was compact already - and both from the service and when piped to another program it would be - you're right: there's no reason to call this.