@infosec812 should have phrased it better..
i'm really after an opinionated framework + toolchain that is easy to leverage the Graal vm tools for native compilation.
last time I tried to use these things out of the box I kept pulling in dependencies that couldn't be compile to native (log4j for example).
this time I want to use dependencies that are know to work or are optimized for native compilation.
@cwensel I have had good success using Micronaut+PicoCli. Have not tried any other.
https://micronaut-projects.github.io/micronaut-picocli/latest/guide/
EDIT: Adding a sample personal project that I was working on a couple years ago. Seems to still compile fine to a native GraalVM image. Github here: https://github.com/psumiya/jcli
@overheadhunter yeah it’s my favorite also.
Got another recommendation of micronaut + picocli.
@cwensel yup just saw that. Not sure what micronaut adds that picocli doesn’t cover from your requirements, though.
Make sure to give the tab autocompletion feature a try btw 😍
@cwensel we used picocli with graalvm's native-image without any problem. If you need an example project, here you go:
https://github.com/cryptomator/hub-cli
All native image related stuff is either in the pom.xml or github actions yml.