Skip to main content

render_direct_help_for_raw

Function render_direct_help_for_raw 

Source
pub fn render_direct_help_for_raw(
    cmd: &Command,
    raw: &[String],
) -> Option<String>
Expand description

Render the heddle <path> --help pre-parse help to a String.

In-process sibling of print_direct_help_for_raw; the printer is a write_stdout wrapper over this so the bytes match (HeddleCo/heddle#381).