Type Alias WithSectionUsage

WithSectionUsage: {
    comment?: string;
    required?: ReadonlyArray<string>;
    requires?: Readonly<Record<string, string>>;
}

Defines additional attributes for the usage section.

Type declaration

  • Optional Readonlycomment?: string

    A commentary to append to the usage.

  • Optional Readonlyrequired?: ReadonlyArray<string>

    A list of options that should be considered required in the usage.

  • Optional Readonlyrequires?: Readonly<Record<string, string>>

    A map of option keys to required options.