Interface

ParseArgsOptionConfig

utils.ParseArgsOptionConfig

Configuration for a single command-line argument option.

Properties:
Name Type Attributes Description
type "string" | "boolean"

The data type of the option.

multiple boolean <optional>

Whether the option can be specified multiple times.

short string <optional>

The short (single-character) alias for the option.

default string | boolean | Array.<string> | Array.<boolean> <optional>

The default value(s) for the option.

View Source input/types.ts, line 140