Abstract
Represents a command argument.
class MyArgument extends Argument { name = 'my-argument';}
The command the argument belongs to.
Readonly
Optional
The description of the argument.
The name of the argument.
Whether the argument is required.
The usage of the argument.
Validates the argument.
The validated value, or error.
argument.validate('hello'); // 'hello'
The value of the argument.
Represents a command argument.
Example