MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / clear

Method clear

crates/openshell-cli/src/run.rs:375–381  ·  view source on GitHub ↗

Clear all progress output (spinner, spacer, and completed step lines).

(&self)

Source from the content-addressed store, hash-verified

373
374 /// Clear all progress output (spinner, spacer, and completed step lines).
375 fn clear(&self) {
376 self.spacer.finish_and_clear();
377 self.spinner.finish_and_clear();
378 for bar in &self.completed_bars {
379 bar.finish_and_clear();
380 }
381 }
382}
383
384/// Format a duration as a compact elapsed time string, e.g. `(3s)` or `(1m 12s)`.

Callers 15

clear_callsMethod · 0.45
runFunction · 0.45
handle_shell_connectFunction · 0.45
handle_exec_commandFunction · 0.45
handle_gateways_keyMethod · 0.45
handle_providers_keyMethod · 0.45
handle_sandboxes_keyMethod · 0.45
handle_policy_keyMethod · 0.45
handle_draft_keyMethod · 0.45

Calls

no outgoing calls