ApplyJSONFlag returns the output format that --format and --json select.
func ApplyJSONFlag(format string, asJSON bool) (string, error)ApplyJSONFlag returns the output format that --format and --json select together: --json means json, and any other --format conflicts with it. The format name is not case-sensitive. format is "" when --format was not given.