-
Graal
GraalVM compiles Java applications into native executables that start instantly, scale fast, and use fewer compute resources 🚀
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
picocli
Picocli is a modern framework for building powerful, user-friendly, GraalVM-enabled command line apps with ease. It supports colors, autocompletion, subcommands, and more. In 1 source file so apps can include as source & avoid adding a dependency. Written in Java, usable from Groovy, Kotlin, Scala, etc.
The snippet and code used in this article are all directly taken from my swacli demo application. You can find the code on GitHub.
The last thing we can do to help our users enjoy our CLI is to make sure it's blazing fast. This is where native compilation and GraalVM come into play.
As a developer, there is a large chance that you use Command Line Interfaces (CLIs) every day. From Git, to kubectl or Maven, they are everywhere. In this article, we'll look into use cases where CLIs are a great idea. We'll also dive into best practises, and discover one of the most used library for CLIs in the JVM world : picoCLI.
picoCLI is one of the many options available to you to create CLIs on the JVM. Other possibilities include Jakarta Commons CLI or Clikt if you're using Kotlin.
Related posts
-
New Project: CLI to transform Excel spreadsheets to JSON (in Kotlin)
-
Java 20 / JDK 20: General Availability
-
Hq – like htmlq and XPath support
-
GitHub - PatilShreyas/compose-report-to-html: CLI utility to convert Jetpack Compose compiler metrics and reports to beautified HTML page.
-
CLI utility to convert Jetpack Compose compiler metrics and reports to beautified HTML page