Demonstrates the combination of Picoli, jline 3 and Quarkus 3 or Spring Boot to build a command shell.
To build the project as "uber jar":
./mvwn clean package
java -jar quarkus/target/example-shell-runner.jar
ℹ️ You can create also a native executable. See quarkus build information.
java -jar spring-boot/target/example-shell-runner.jar
- Start with
clear
command - Try
help
- Try
cmd
with TAB for code completion - Type
exit
to leave shell