Replies: 1 comment
-
Thanks for a feedback. Indeed this is an area where we need to be better as docs are missing clear explanations how all these go together. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to use this Spring library, but I am getting a lot of trouble
on the command syntax.
I am confused with the syntax of the command. How does the parser recognize
arguments from options:
Those are fundamental questions to whoever is trying to use the library.
I tried to use it but, since those principles are not clear, I get results that look weird and inconsistent. Here are some examples.
And some trials:
Despite
@ShellOption
everything here seems to be parsed as positionaland options are captured as parameters.
If I try the options as positional I get an error:
But not if the options follow the arguments:
OK, but if I ask for help I read that all arguments are mandatory and also there is no distinction between arguments and options:
I only get a error if I specify no arguments and options:
Quoting arguments is also confused (as I have already reported).
Is there some link where the command line syntax is clearly explained?
Beta Was this translation helpful? Give feedback.
All reactions