Skip to content
Advertisement

Tag: picocli

How do I transfer my parsed array data from one class to another?

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

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

Advertisement