pub fn progress_for(cli: &Cli, repo: &Repository) -> ProgressExpand description
Build a Progress handle for a command, applying the single JSON guard
(#550) exactly once at construction: JSON output → a null handle that
renders nothing; otherwise → a TerminalSink. The guard is never checked
again per update.