Type Alias WithSectionGroups

WithSectionGroups: {
    items?: ReadonlyArray<HelpItem>;
    layout?: PartialWithDepth<HelpColumnsLayout>;
    useEnv?: true;
}

Defines additional attributes for the groups section.

Type declaration

  • Optional Readonlyitems?: ReadonlyArray<HelpItem>

    The order of items display in option descriptions.

  • Optional Readonlylayout?: PartialWithDepth<HelpColumnsLayout>

    The help columns layout.

  • Optional ReadonlyuseEnv?: true

    Whether option names should be replaced by environment variable names.