Skip to content

Interface: HelpPluginOptions

Defined in: packages/plugin-help/src/index.ts:54

Properties

PropertyTypeDescriptionDefined in
banner?stringA banner to show before the help output.packages/plugin-help/src/index.ts:85
command?booleanWhether to register the help command. Default truepackages/plugin-help/src/index.ts:60
examples?[string, string][]Examples to show in the help output. Each example is a tuple of [command, description].packages/plugin-help/src/index.ts:81
flag?booleanWhether to register the --help global flag. Default truepackages/plugin-help/src/index.ts:66
formatters?Partial<Formatters>Custom formatters for rendering help.packages/plugin-help/src/index.ts:89
groups?GroupsOptionsGroup definitions for commands and flags. Groups allow organizing commands and flags into logical sections in help output. Each group is defined as [key, name] where key is the identifier used in help options and name is the display name shown in help output.packages/plugin-help/src/index.ts:96
notes?string[]Notes to show in the help output.packages/plugin-help/src/index.ts:76
showHelpWhenNoCommandSpecified?booleanWhether to show help when no command is specified. Default truepackages/plugin-help/src/index.ts:72

在 MIT 许可证下发布