KC's Workspace
    Preparing search index...
    interface BooleanDeclarationOption {
        configFileOnly?: boolean;
        defaultValue?: boolean;
        help: string | (() => string);
        name: string;
        type: Boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    configFileOnly?: boolean

    If set, this option will be omitted from --help, and attempting to specify it on the command line will produce an error.

    defaultValue?: boolean

    If not specified defaults to false.

    help: string | (() => string)

    The help text to be displayed to the user when --help is passed.

    This may be a string, which will be presented directly, or a function, which will be called so that option help can be translated into the user specified locale.

    name: string

    The option name.

    type: Boolean

    The parameter type, used to convert user configuration values into the expected type. If not set, the type will be a string.