Skip to content
Discussion options

You must be logged in to vote

Picocli itself does not provide features for this, but one idea is
to take the String[] array that is passed to the main method, and split any strings that contain spaces into multiple strings, and combine them again into a single array, before invoking picocli.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@chabala
Comment options

@remkop
Comment options

Answer selected by chabala
@chabala
Comment options

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