Quarkus: Quarkus CLI basics

Created on 9 Dec 2019  路  7Comments  路  Source: quarkusio/quarkus

Update the current CLI code so it works similar to Maven/Gradle.
The work is happening here: https://github.com/stalep/quarkus/tree/aesh_updates
Commands implemented:

  • list-extensions
  • add-extension
  • create-project
  • compile-project
  • dev-mode

The user can choose to start an interactive CLI or call the commands one by one as needed.

Most helpful comment

I have started something in: https://github.com/gastaldi/quarkus-cli

All 7 comments

@maxandersen Any recommendation for the suitable implementation? May I write a Golang CLI program to invoke such commands?

Quarkus command mode should suffice should it not ?

@maxandersen Please explain.

In the related issue, we have 2 following requirements:

enable sdk install quarkus (osx/linux)
enable brew install quarkus (osx)

How does the command mode fulfill such requirement?

Quarkus can compile to a native executable.

ad even if it was just a jar that can be installed using brew and sdkman too.

I have started something in: https://github.com/gastaldi/quarkus-cli

I have started something in: https://github.com/gastaldi/quarkus-cli

there already are a cli in /devtools/aesh and update coming here https://github.com/quarkusio/quarkus/pull/9783 we do want to get that updated/aligned but lets not create it externally as the cli would heavily depend on the code in the core devtools repo anyway.

Was this page helpful?
0 / 5 - 0 ratings