Type alias ValueDef

ValueDef: {
    abortEarly?: boolean;
    array?: boolean;
    continueEarly?: boolean;
    match?: RegExp;
    required?: boolean;
    value?: string;
}

Type declaration

  • Optional abortEarly?: boolean

    Aborts the script if the value was found.

  • Optional array?: boolean

    Matches all value from match into a comma separated string.

    If array isn't set to true, only the last match will be used.

  • Optional continueEarly?: boolean

    Continues to the next script if the value was found.

  • Optional match?: RegExp

    A match to search for in the output of the previous script.

    This is a regular expression that will be run with the g flag.

  • Optional required?: boolean

    Aborts the script if the value is not found.

  • Optional value?: string

    The value to set the environment variable to.

    If match is set, this will be ignored.

Generated using TypeDoc