Skip to content

Using picocli to capture undefined command with arguments #2124

Answered by remkop
Matiako asked this question in Q&A
Discussion options

You must be logged in to vote

@Matiako I don't think picocli can provide any value in the use case you describe.
Picocli's value is to parse the predefined options for predefined commands and provide help to end users explaining which options are available for which command.

From your description, all you need is to pass the user input as a String array to your downstream component...

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Matiako
Comment options

Answer selected by Matiako
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants