quarkusio / quarkus

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

Quarkus CLI multiple search #23993

Open lordofthejars opened 2 years ago

lordofthejars commented 2 years ago

Description

Currently, with Quarkus CLI you can search for extensions but only with one topic (ie quarkus ext list --concise -i -s jdbc) but sometimes you would like to search for multiple extensions, in the case of the database example I would like to search for jdbc,panache, jsonb, openapi and now I should go one by one.

Implementation ideas

quarkus ext list --concise -i -s jdbc, panache, jsonb

quarkus-bot[bot] commented 2 years ago

/cc @ebullient, @maxandersen

maxandersen commented 2 years ago

Technically we could do that but I'm struggling to find the usecase for doing a search returning multiple results where the search terms are "or"'Ed.

I would expect It to be matching all of them. I.e. search "hibernate, reactive" returns what is both hibernate and reactive not either hibernate or reactive.

Wdyt?

lordofthejars commented 2 years ago

My idea was an or, so quarkus ext list --concise -i -s jdbc, panache, jsonb would return me the JDBC extension and panache extensions and JSON extensions so I can choose to add all of them at once, so my initial idea is an either.

maxandersen commented 2 years ago

and any reason the current quarkus add that does that kinda search suffices ?