(f *pflag.FlagSet, shorthand string)
| 45 | f.StringSlice("json", nil, "Output JSON with the specified `fields`") |
| 46 | } |
| 47 | func addJqFlag(f *pflag.FlagSet, shorthand string) { |
| 48 | f.StringP("jq", shorthand, "", "Filter JSON output using a jq `expression`") |
| 49 | } |
| 50 | func addTemplateFlag(f *pflag.FlagSet, shorthand string) { |
| 51 | f.StringP("template", shorthand, "", "Format JSON output using a Go template; see \"gh help formatting\"") |
| 52 | } |
no outgoing calls
no test coverage detected