(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 | } |
| 53 | |
| 54 | func setupJsonFlags(cmd *cobra.Command, exportTarget *Exporter, fields []string) { |
| 55 |
no outgoing calls
no test coverage detected