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
Currently, we allow users to mix optional, variadic, and required arguments. In order of preference:
make this impossible (see below)
check at start
check when calling the command
We currently do none of these. Instead, we have some weird logic in CheckArguments where we stop filling in optional arguments once we realize we'll need the rest to fill in required arguments.
What do you mean with mix arguments? I agree the logic around checking the arguments is messed up, but I don't get why you want to split them in an Arguments struct.
Currently, we allow users to mix optional, variadic, and required arguments. In order of preference:
We currently do none of these. Instead, we have some weird logic in CheckArguments where we stop filling in optional arguments once we realize we'll need the rest to fill in required arguments.
Preferred solution:
The text was updated successfully, but these errors were encountered: