pub fn format_help(
extension_flags: Option<&[ExtensionFlagHelp]>,
style: HelpStyle,
) -> StringExpand description
Format the full help text without writing to stdout.
When style.styled is false the output is plain text (tests / redirected
consumers). When true, section headers use anstyle bold, matching chalk
in the TypeScript printHelp path.