aboutsummaryrefslogtreecommitdiff
path: root/src/core_modules/command_spec.py
Commit message (Expand)AuthorAgeFilesLines
* fix privateonly/channelonly - True or None, not True or FalseGravatar jesopo2020-01-281-4/+6
* fix support for non-consuming command spec argsGravatar jesopo2020-01-281-9/+10
* add non-consuming spec arg types for privateonly and channelonlyGravatar jesopo2020-01-271-0/+8
* .append() doesn't work on dict, use same code for missing optionalGravatar jesopo2020-01-261-10/+10
* refactor command_spec.pyGravatar jesopo2020-01-261-24/+43
* add `nuser` spec arg type; to get a user, new or notGravatar jesopo2020-01-261-3/+7
* we need a fresh mutable `args` copy for each specGravatar jesopo2020-01-261-1/+2
* support multiple specs per commandGravatar jesopo2020-01-261-31/+35
* only show "not enough arguments" n>len(args)Gravatar jesopo2020-01-261-1/+1
* implement default spec argument typesGravatar jesopo2020-01-251-47/+39
* support type names of spec argumentsGravatar jesopo2020-01-251-9/+9
* change command specs to be compiled at runtime by a decoratorGravatar jesopo2020-01-251-29/+19
* support !... as "one or more", show "not enough args" errorGravatar jesopo2020-01-251-7/+13
* support e.g. "!r~channel" spec to change the context of "!cuser"Gravatar jesopo2020-01-241-3/+8
* add some comments about all the command_spec spec typesGravatar jesopo2020-01-241-0/+13
* better "!user" spec errorGravatar jesopo2020-01-241-4/+7
* implement "important" command spec pieces, esp. for channel permsGravatar jesopo2020-01-241-17/+48
* don't args[0] for rchannel when [], better rchannel errorGravatar jesopo2020-01-241-2/+4
* add ruser/rchannel (r for relevant) to command_spec.pyGravatar jesopo2020-01-241-5/+21
* still append None when an optional spec is missedGravatar jesopo2020-01-241-2/+4
* first draft of command_spec.pyGravatar jesopo2020-01-241-0/+73