Documentation
    Preparing search index...

    Type Alias BooleanFlag<T>

    BooleanFlag: BaseFlag<T> & {
        type: "boolean";
        showNegatedVariantInHelp?: boolean;
        parse?: (input: T) => T;
    }

    Boolean flag

    Type Parameters

    • T

    Type Declaration

    • type: "boolean"
    • OptionalshowNegatedVariantInHelp?: boolean

      Whether or not to display the negated variant in the help output.

      Applicable for boolean flags only

      Defaults to false

    • Optionalparse?: (input: T) => T