Parameter

Positional Parameter

Members

Functions

description
Parameter description(string d)

Sets this Parameter's description. Used in the generation of help text.

description
string description()

Returns this Parameter's description.

hasDescription
bool hasDescription()

Returns whether or not this Parameter has a description set.

name
Parameter name(string n)

Sets this parameter's display name. Used in the generation of help text.

name
string name()

Returns this parameter's display name.

require
Parameter require()

Sets this Parameter as required.

required
bool required()

Returns whether or not this Parameter is required.

setWasSet
void setWasSet(bool set)

Mark this Parameter as having been used in the command call.

value
string value()

Returns the value parsed from the command call.

value
void value(string val)

Sets the command call value for this Parameter.

wasSet
bool wasSet()

Returns whether or not this Parameter was set in the command call.

Meta