-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLI: Extensions list enhancements #18062
Comments
I would like to stick with the single command, which includes In the case of listing from outside of a project OR listing a specific version, I used I agree with you re: column ordering, consistency and headings. I think we can/should clean up the output (the extra : is due to how the artifact coordinates are printed). Some bits are also less redundant when you are working with a platform composed from several BOMs, which we expect going forward with 2.x. But it could definitely be simplified. There is an incoming PR for adding category support: #17765, which includes sorting the list of extensions. Any fix for this will come after that PR is integrated. |
#17765 has been merged. extensions are alphabetized and can be filtered by category.. |
/cc @ebullient, @maxandersen |
Description
There are a few drawbacks when using the extension list command:
quarkus extension list
:quarkus extension list
behaves asquarkus extension list --origins
. Example:And I see a couple of problems here: (1) we miss the artifact id that match to the extension name and (2) the version name (aka
999-SNAPSHOT
) is duplicated.As far I see, the
--concise
option should be the default:And, if we add the
--origins
option, I would have expected to see an additional column::
. Example:io.quarkus:quarkus-bom::pom:999-SNAPSHOT
.--full
have headers and different column order than the rest. Example:Implementation Ideas
To sum up, these are the changes I think that are necessary:
--concise
should be used instead of--origins
.For
--concise
:<artifactId> <extensionName>
For
--origins
:<artifactId> <extensionName> <origin>
For
--full
:<artifactId> <extensionName> <origin> <guide> <status> <updatedVersion>
--instalable
) should be sorted. Related issue: CLI: list --installable should be sorted #16154The text was updated successfully, but these errors were encountered: