Skip to main content

generate_help_for_shape

Function generate_help_for_shape 

Source
pub fn generate_help_for_shape(
    shape: &'static Shape,
    config: &HelpConfig,
) -> String
Expand description

Generate help text from a Shape.

This is a convenience function that builds a Schema internally. If you already have a Schema, use generate_help_for_subcommand instead.