quarkusio / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
13.82k stars 2.69k forks source link

Quarkus CLI #6026

Closed maxandersen closed 2 years ago

maxandersen commented 4 years ago

Description

start with "Quarkus CLI" i.e. qtl or qu focused on giving an easy getting started experience; remove or at least make mvn/gradle commands optional/secondary and from there derive a CLI framework.

Analysis

short name: qs as in ( Q uarku S ) aliased or linked to quarkus

distribution: initally a zip with .cmd/.bat + shell script + uber.jar'ed Quarkus command mode app. Eventually produce binaries for windows, osx, linux; but always have plain jar option available.

suggested commands:

Epic items

(this section is auto-generated - manual edits will get lost)

maxandersen commented 4 years ago

duplicates #418

dodalovic commented 4 years ago

@anyone Was there any progress been made? Thanks!

emmanuelbernard commented 4 years ago

@maxandersen so how much will we want to do in the next 3-6 months and how different is it from "command mode"?

emmanuelbernard commented 4 years ago

@dodalovic @stuartwdouglas has done some ground work named command mode. I'm not sure what would be required to be a proper CLI exposed model. Reusing Aesh or picocli was floated.

Stuart does need feedback on the command mode at the moment.

dodalovic commented 4 years ago

Sure, what’s needed?

On Tue 24. Mar 2020 at 15:01, Emmanuel Bernard notifications@github.com wrote:

@dodalovic https://github.com/dodalovic @stuartwdouglas https://github.com/stuartwdouglas has done some ground work named command mode. I'm not sure what would be required to be a proper CLI exposed model. Reusing Aesh or picocli was floated.

Stuart does need feedback on the command mode at the moment.

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/quarkusio/quarkus/issues/6026#issuecomment-603255871, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQQILJNQRRC3JUH6A43GI3RJC4J7ANCNFSM4JYAX6LQ .

-- Sent from Gmail mobile

emmanuelbernard commented 4 years ago

There you go, check this PR https://github.com/quarkusio/quarkus/pull/7681 Feedback is good, also building it and testing it would be great feedback for Stuart.

maxandersen commented 4 years ago

command mode is what enables us to actually use quarkus to write the cli which I think we should (drink own champagne and pet the dog etc.).

about next 3-6 months - let me review the others outstanding.

ieugen commented 4 years ago

I can't wait for Quarkus to get cli support !! I expected things to be much better in this area.

emmanuelbernard commented 4 years ago

We need to discuss if the CLI should have introspection capabilities and do a JBoss Forge like class creation / augmentation based on the existing user model. This would make it non native and might be a blocker compared to the advantage of going native.

stuartwdouglas commented 4 years ago

Any sort of dynamic command based support will prevent native mode from being viable (barring some kind of 'mixed mode', where we use the native process to bootstrap the CLI and do simple tasks, and delegate to a JVM for any kind of dynamic support).

ia3andy commented 4 years ago

FYI: The Maven/Gradle wrappers are now included by default using codestarts (not added by maven) making the generation of projects consistant across our different tooling.

n1hility commented 4 years ago

Any updates on this issue? Should it be moved to 1.9?

ia3andy commented 4 years ago

Yeah it was merged for 1.9: https://github.com/quarkusio/quarkus/pull/11450

maxandersen commented 2 years ago

closing this as cli is there and delivered. lets have more dedicated issues for future improvements.