|
Hello, can I use picocli to capture any (undefined) command and pass it further down the line with arguments attached to it? |
Answered by
remkop
Sep 28, 2023
Replies: 1 comment 1 reply
|
@Matiako I don't think picocli can provide any value in the use case you describe. From your description, all you need is to pass the user input as a String array to your downstream component... |
1 reply
Answer selected by
Matiako
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@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...