-
Notifications
You must be signed in to change notification settings - Fork 28
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
Glob multiple position arguments #149
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
version
0.5.2 / JVM
problem
At the moment, you cannot have both a positional argument and :multi , because only the first argument will be globbed. In theory, you should be able to glob multiple positional arguments if the positional argument is the last one and :multi is enabled.
repro
See https://github.com/l3nz/cli-matic/blob/master/examples/clj/multi_positional.clj
expected/actual behavior
If we run:
$ ./multi_positional.clj add --addendum 3 --addendum 5
8
But if we run
$ ./multi_positional.clj add 3 5
We get 3 and not 8 because the second argument is not globbed
The text was updated successfully, but these errors were encountered: