(f *pflag.FlagSet)
| 42 | } |
| 43 | |
| 44 | func addJsonFlag(f *pflag.FlagSet) { |
| 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 | } |
no outgoing calls
no test coverage detected