pub fn should_output_json(cli: &Cli, repo_config: Option<&Config>) -> bool
Resolve whether command output should use JSON after applying user, repository, and explicit CLI output settings.