Skip to main content

cli_render_help_markdown

Function cli_render_help_markdown 

Source
pub fn cli_render_help_markdown(
    cmd: &Command,
    subcommand_path: &[&str],
) -> String
Expand description

Render recursive Markdown help for a clap command tree.

Same tree walk as cli_render_help, but outputs Markdown suitable for documentation generation (myapp --help --recursive --output markdown > docs/cli.md).

Requires the cli-help-markdown feature.