Skip to main content

progress_for

Function progress_for 

Source
pub fn progress_for(cli: &Cli, repo: &Repository) -> Progress
Expand 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.