Skip to main content

render

Function render 

Source
pub fn render(
    name: &str,
    version: &str,
    about: &str,
    tagline: &str,
    url: &str,
    usage: &str,
    sections: &[HelpSection],
    examples: &[&str],
    hint: &str,
    badge: Style,
    accent: Style,
)
Expand description

Render a complete help page to stderr.

Called by the generated YourStruct::help() method. All styling is controlled by badge and accent from the app’s theme.