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
{{ message }}
This repository has been archived by the owner on May 11, 2024. It is now read-only.
The key doesn't work at this example. The error sent is the wrong usage message
Otherwise, if the key is not null (contains a input) the command works perfectly.
The text was updated successfully, but these errors were encountered:
This will be a bit tricky to patch. The desired solution would be to implement a pattern system. For now, the argument parser needs to be aware of the succeeding method params, and it has to figure out whether the provided argument can be applied for one of the next params, skipping the current one.
mluizaa00
changed the title
Multiple arguments as Optional
bug: multiple arguments as Optional
Jul 5, 2021
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The @optional annotation can't be used in the middle of arguments
Example:
The key doesn't work at this example. The error sent is the wrong usage message
Otherwise, if the key is not null (contains a input) the command works perfectly.
The text was updated successfully, but these errors were encountered: