-
Notifications
You must be signed in to change notification settings - Fork 14
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
proposal: seq types for repeated options #5
Comments
Hello! Sorry about the delay. My notifications were off for some reason 😕 . This exists for the Thanks! |
So... after looking into this I remembered why I didn't implement this in the first place 😐 . First, there is no convention (yet) on parsing multiple values for a single option in $ myCLI --option=arg1 arg2 arg3 is interpreted by Now, this is not too bad as we could build an interpretive scheme to read A good alternative for now is probably a combination of subcommand and arguments: commandline:
subcommand doSeq:
arguments listOfArgs, int, false |
A quick update on this: although the just pushed version 0.11.0 doesn't allow multiple option à-la All in all I can see |
I wanted to use commandeer for nimgen's CLI interface but cannot due to this limitation. -I include1 -I include2 ... is what I want to do for n.include. |
What about the aforementioned I am not too sure about the generalization of the expected semantic of Thanks for letting me know |
I'm fine with |
I have been using comandeer happily, but now need to collect multiple values of an argument. To support this, if an option is specified as:
Perhaps that could trigger the ability to receive multiple values of type?
The text was updated successfully, but these errors were encountered: