-
Notifications
You must be signed in to change notification settings - Fork 334
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
Does Jcommander support parse args into multiple sub command #570
Comments
Have you read the docs? Have you tried it out? |
Can you please rewrite your test in a way that demonstrates what you like to do instead of the above code, and can you please outline why your intended solution would be easier/better/superior? That makes it easier for us to understand if/why/how to change JCommander's API. :-) BTW, there is no need to paste JPGs. In fact, it makes it harder for us to copy-paste your demo code. If you could use backticks to markup plain text we would be able to try out your code without the need to transcripe it from the JPG. Thanks. |
@ruanwenjun Still looking forward to receive your answer in the current discussion! :-) |
In my usage, I hope to parse the input args into some sub command.
e.g.
The input looks like
And I have Three sub command ICommand, OCommand, PCommand, I hope JCommand receive args, and can return ICommand, OCommand, PCommand or return only one command which order is higher.
The text was updated successfully, but these errors were encountered: