for #java what is the best framework to build native compiled cli applications?

micronaut, quarkus, other?

I don't have time to learn #golang or #rustlang but do want this to have a small footprint and few dependencies.

@cwensel we recently used #picocli and I can't recommend it enough!

https://picocli.info/

@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 😍

@overheadhunter I’m worried about losing time making graalvm work with the libraries. See my other clarifying comment on toolchain. Having a set of workable dependencies has been more difficult than anticipated in the past.

@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.

GitHub - cryptomator/hub-cli

Contribute to cryptomator/hub-cli development by creating an account on GitHub.

GitHub