Skip to main content

render_help_styled

Function render_help_styled 

Source
pub fn render_help_styled(
    spec: &Spec,
    cmd: &SpecCommand,
    long: bool,
    style: Style,
) -> String
Expand description

Render a terminal help page with an explicit colour policy.

Runs nothing: choices run= is described as where the values come from. A program showing its own help while it runs wants render_runtime_help, which lists them.