Create an instance of WebHelpGenerator.
Key value list of commands and their aliases
Imperative config containing data about the CLI
Output directory for HTML doc pages
Imperative command tree to build help for
Markdown-it module used to convert markdown to HTML
Specifies whether user's home directory should be redacted from help content
Used to build single page version of web help
List of nodes in command tree
Appends help content for individual command/group to single page HTML
Builds list of groups/commands with HTML links added
Builds table of contents for flat view
Parent node whose children will be listed
Build web help files and copy dependencies to output folder
Builds breadcrumb of HTML links to show command ancestry
Generates HTML help page for Imperative command
Returns footer HTML for help page
Returns header HTML for help page
Title string for the page
Returns print button to show in header of help page
Converts Markdown string to HTML string. Any HTML tags contained in the input Markdown string will be escaped.
String containing Markdown content
String containing HTML content
Writes data for building web help command tree to JS file
Generated using TypeDoc
Imperative web help generator. Accepts the command definitions and constructs the full help text for the command node.