Categories
Java Quarkus

Quarkus Command mode with Picocli

After this article, you’ll be able to write beautiful command-line tools for Quarkus with Picocli. This is the continuation of the first article about Quarkus mode, if you haven’t seen it, please read it first.

Now that you know how to use command mode, it’s time to prettify it! We gonna use Picocli, which makes cli tools fun to build.

This article also available on Medium

Categories
Java Quarkus

Quarkus command mode

Quarkus 1.4.0.CR1 brought to us a really interesting feature. In this article, you’ll see how you can manipulate your Quarkus app via the command line and start quarkus from main method. If you’ve ever used Laravel, for example, you know that it has really great support for the command line.

Quarkus Command mode gives you the ability to write an application(or part of it) that starts, does some work, and then exits.