Class BooleanArgumentAbstract

Represents a boolean command argument.

Example

class MyArgument extends BooleanArgument {
name = 'my-argument';
}

Hierarchy

Constructors

Properties

Accessors

Methods

Constructors

Properties

command: Command

The command the argument belongs to.

default?: boolean

The default value of the argument.

description?: string

The description of the argument.

name: string

The name of the argument.

required: boolean = true

Whether the argument is required.

Accessors

Methods