Skip to content

Interface: HelpPluginOptions

Defined in: index.ts:57

Properties

PropertyTypeDescriptionDefined in

command?

boolean

Whether to register the help command.

Default

ts
true;

index.ts:63

examples?

[string, string][]

Examples to show in the help output. Each example is a tuple of [command, description].

index.ts:84

flag?

boolean

Whether to register the --help global flag.

Default

ts
true;

index.ts:69

footer?

string

Footer to show after the help output.

index.ts:92

formatters?

Partial<Formatters>

Custom formatters for rendering help.

index.ts:96

groups?

GroupsOptions

Group 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.

index.ts:103

header?

string

Header to show before the help output.

index.ts:88

notes?

string[]

Notes to show in the help output.

index.ts:79

showHelpWhenNoCommandSpecified?

boolean

Whether to show help when no command is specified.

Default

ts
true;

index.ts:75

在 MIT 许可证下发布