ResolveFormat reads the output format from cobra's flag tree.
func ResolveFormat(cmd *cobra.Command) stringResolveFormat reads the output format from cobra's flag tree. --jq filters JSON, so it implies json, as does --json; without either or --format, DefaultFormat applies.
| Name | Type | Description |
|---|---|---|
cmd* | *cobra.Command |