Command.argument

Adds an argument from formatted string.

Parameters

format string

Formatted string defining the argument.

description string

Description of the argument.

defaultValue string

Default value of the argument, or null.

Throws

AssertError if the argument format is invalid or an argument with the same name already exists.