Skip to content

Demo repository for building a CLI with Kotlin, Clikt and GraalVM.

License

Notifications You must be signed in to change notification settings

lreimer/hands-on-clikt

Repository files navigation

Hands-on Clikt

Demo repository for building a CLI with Kotlin, Clikt and GraalVM.

GraalVM installation

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 graalvm-ce-java8@20.3.0
$ jabba use graalvm-ce-java8@20.3.0

$ export GRAALVM_HOME=$JAVA_HOME

$ gu available
$ gu install native-image

Building and using CLI

$ ./gradlew build
$ ./gradlew buildNativeImage

$ cd build/
$ ./hands-on-clikt
$ ./hands-on-clikt --name Leander --count 3
$ ./hands-on-clikt --help

Maintainer

M.-Leander Reimer (@lreimer), mario-leander.reimer@qaware.de

License

This software is provided under the MIT open source license, read the LICENSE file for details.

About

Demo repository for building a CLI with Kotlin, Clikt and GraalVM.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages