You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add alt methods for multi-arg params for prefixed cmds (#1471)
* feat: add alt methods for multi-arg params for prefixed cmds
* fix: use empty if the typehint is just tuple
* ci: correct from checks.
* fix: support ConsumeRest without typehint
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

102
102
103
-
### Variable and Keyword-Only Arguments
103
+
### Variable and Consume Rest Arguments
104
104
105
105
There may be times where you wish for an argument to be able to have multiple words without wrapping them in quotes. There are two ways of approaching this.
106
106
107
107
#### Variable
108
108
109
109
If you wish to get a list (or more specifically, a tuple) of words for one argument, or simply want an undetermined amount of arguments for a command, then you should use a *variable* argument:
0 commit comments