/asa-poc-spring-cli

Primary LanguageJavaApache License 2.0Apache-2.0

A CLI focused on developer productivity

Build

Note
Use JDK17

Normal build without native:

./gradlew clean build

Which you can then run with:

java -jar build/libs/spring-cli-0.0.1-SNAPSHOT.jar

For native build:

./gradlew clean build nativeCompile
Note
You need to have GRAALVM_HOME pointing to your graal installation

Which you can then run with:

build/native/nativeCompile/spring
Tip
There is a CI workflow which builds native binaries for linux, macos and windows. Published artifacts in CI workflow will get removed daily so take it from a latest run which is scheduled nightly.

Building Documentation

cd docs
../gradlew antora

Output is in ./build/site

Shell Completion

Shell completion for bash can be generate with completion bash command:

$ source <(spring completion bash)