Skip to main content

warn_multi_execution_default

Function warn_multi_execution_default 

Source
pub fn warn_multi_execution_default(session_dir: &Path)
Expand description

SRD-77 — emit a per-command banner when the active session has more than one execution in its history. Tells the operator which execution the implicit latest default resolved to and lists the latest three in temporal order (newest first), with <-- latest marking the one their query is currently bound to.

Silent for sessions with 0 or 1 executions — the banner is only useful when an ambiguity actually exists.

Writes to stderr so it lands next to other operator- visible logging without colliding with stdout pipelines (a piped nmbrs report ... | less still gets clean stdout).