My program uses Picocli to parse XML data and store it in an ArrayList. For some reason, the information gets removed when I try to access it from another class. I run the code below, and it shows the elements just fine: So I try to access sourceArray from another class: and results in variables being [], thus not able
Tag: picocli
Getting Picocli to work with Springboot application
I have to convert a large Spring boot application into a flexible CLI tool, where the requests sent by the Spring boot application (among other things) are determined by user input at the command line. I decided to use picocli to implement the command line functionality, however I can’t figure out how to even do something as simple as print
make picocli parse local date format
PicoCLI accepts 2019-04-26 as input for a LocalDate variable, but it does not accept the German Date format like 26.04.2019. For that you need: How do you tell to PicoCLI to use this formatter and not depend on US date input? Answer You can define a custom type converter, either for a specific option, or globally for all options and