-
-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some listable types should not enforce uniqueness #106
Comments
Tested using "numbers" instead of "strings" and the order appears to be maintained for numbers but not strings 🤔 |
This behavior is intended, because lists are more like sets in that they can only contain a value once at most. I can see why this would be undesirable at times, so it would be nice to have this uniqueness be optional. The reason Cmdr does this is for in the case of commands that take |
Ok, closing issue in that case! |
I'd like to keep it open as this is still a problem that needs to be addressed. I think maybe the uniqueness should only be enforced for certain types. |
Array type arguments (ex: "strings" type) are not being parsed into arrays in sequential order.
For example, the following command definition has its third argument of type "strings"
When entering a series of strings on the command line, they are provided in an argument table out of order.
The text was updated successfully, but these errors were encountered: