Skip to main content

Function: generateHelpTextForAllCommands()

generateHelpTextForAllCommands(__namedParameters, locale?): readonly DocumentedCommand[]

Generate help text in the given locale for each command in this application. Return value is an array of tuples containing the route to that command and the help text.

If no locale specified, uses the defaultLocale from the application configuration.

Parameters

__namedParameters: Application<CommandContext>

locale?: string

Returns

readonly DocumentedCommand[]

Defined in

packages/core/src/application/documentation.ts:43