Replies: 2 comments 1 reply
-
|
a different way to do this is using subcommands. I wonder if keycloak would profit from it. e.g kc.sh database --some--setting value/ --help |
Beta Was this translation helpful? Give feedback.
-
|
--help category works for me. Don't think that should be mixed with search though. If we want a help with filters it should be a single option, something like --help-search I can also see that we would want some advanced options, and would like to see that concept baked into this proposal, so we can address the UX in more holistically. Would also like to know what impact it would have on --help. Is that still supported or is a category needed. How does a user find out about --help category if the initial page is too long, etc. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Current situation:
The first class config is growing, as is the count of configuration options in the CLI and overall. To not let this get messy, and to provide an easy way to find the specific configuration, we should provide a way to better find the options you search.
Proposal
Make filtering possible using e.g.
kc.sh --help <category>orkc.sh --help --<part-of-configuration-key>so when i only want to see the database related configuration options, I'd use e.g.
kc.sh start --help databaseor when I only want to see configuration options beginning with
httpsI'd usekc.sh start --help httpswhere the term to filter for is not case sensitive.
Considerations:
-cand-k? Sokc.sh start --help --category=HTTP/TLSwould return all HTTP/TLS related stuff from the category,kc.sh start --help --key=httpwould return all keys where http occurs no matter the category?kc.sh config search ...?so have another toplvl command?Beta Was this translation helpful? Give feedback.
All reactions