Demo repository for building a CLI with Kotlin, Clikt and GraalVM.
I used Jabba as a JVM manager to install GraalVM on my machine. Once this is
done, make sure to install the native-image
utility using the Graal updater.
# use Jabba to install GraalVM
$ jabba remote-ls
$ jabba install [email protected]
$ jabba use [email protected]
$ export GRAALVM_HOME=$JAVA_HOME
$ gu available
$ gu install native-image
$ ./gradlew build
$ ./gradlew buildNativeImage
$ cd build/
$ ./hands-on-clikt
$ ./hands-on-clikt --name Leander --count 3
$ ./hands-on-clikt --help
M.-Leander Reimer (@lreimer), [email protected]
This software is provided under the MIT open source license, read the LICENSE
file for details.