OptionaldefaultDefault value if no input or did not cast correctly. If using a flag match, setting the default value to a non-void value inverses the result.
OptionaldescriptionThe description of the argument
OptionalflagThe string(s) to use as the flag for flag or option match.
OptionalidID of the argument for use in the args object. This does nothing inside an ArgumentGenerator.
OptionalindexIndex of phrase to start from. Applicable to phrase, text, content, rest, or separate match only. Ignored when used with the unordered option.
OptionallimitAmount of phrases to match when matching more than one. Applicable to text, content, rest, or separate match only.
OptionalmatchMethod to match text. Defaults to 'phrase'.
OptionalmodifyFunction to modify otherwise content.
OptionalmultipleWhether or not to have flags process multiple inputs. For option flags, this works like the separate match; the limit option will also work here. For flags, this will count the number of occurrences.
OptionalotherwiseText sent if argument parsing fails. This overrides the default option and all prompt options.
OptionalpromptPrompt options for when user does not provide input.
OptionaltypeType to cast to.
OptionalunorderedMarks the argument as unordered. Each phrase is evaluated in order until one matches (no input at all means no evaluation). Passing in a number forces evaluation from that index onwards. Passing in an array of numbers forces evaluation on those indices only. If there is a match, that index is considered used and future unordered args will not check that index again. If there is no match, then the prompting or default value is used. Applicable to phrase match only.
Options for how an argument parses text.