Skip to main content

render_usage_human

Function render_usage_human 

Source
pub fn render_usage_human(
    cli: &UsageSummary,
    guide: &TelemetrySummary,
) -> String
Expand description

Human decided usage output — the unified CLI + Guide read-back (ADR-046). Two DIFFERENT error pluralizations by design: CLI rows use error/errors ('s' if errors != 1), Guide rows always error(s); both suffixes appear only when the count is nonzero, with the tool/command column left-justified to 16 code points.