parse_help_command

Function parse_help_command 

Source
pub fn parse_help_command(input: &str, color_enabled: bool) -> Option<String>
Expand description

Parse help commands and return formatted help output

Recognizes:

  • (help) - Returns overview help
  • (help <topic>) - Returns topic-specific help or error message

Returns None if input is not a help command.