Constructors
constructor
- new Option(flags: string, description: string): Option
-
Parameters
-
flags: string
-
description: string
Properties
defaultValue
defaultValue: string
description
description: string
optional
optional: boolean
required
required: boolean
Methods
is
-
Parameters
Returns boolean
Initialize a new Option with the given
flags
anddescription
.