-
Notifications
You must be signed in to change notification settings - Fork 0
Command Definition Tokens
G Brown edited this page Dec 24, 2018
·
11 revisions
This page describes the tokens that are reserved for the defineCommand() method.
A token must use one of these symbols in order for it to be recognized as that type:
# = The description of the command. There may be zero to one defined.
! = A required value for the command name. There can be zero to many defined.
? = An optional value for the command name. There can be zero to many defined.
: = The regex value to match on for any values that are defined. There can be
zero to one defined.
... = A value ends with ... and is a list for the command name. There can be
zero to one defined. This can be used with the ! and ? symbols
If a token does not start with one of these tokens, then it is considered a command name.