interface InvalidArgument

Details of an invalid parsed argument.

Properties

A reason for the parsing error

readonly
optional
name: string

The name of the argument specified (if it was able to be populated)

readonly
optional
argument: Argument | ComplexOption

The Argument (if it was able to be populated)

The argument value (if it was able to be populated).

NOTE: This value is unlikely to be valid as it is the cause of the invalid argument error.

Usage

import { type InvalidArgument } from ".";