Skip to content
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

Use command description to fill Candidate in console #1119

Closed
gnodet opened this issue Dec 6, 2024 · 0 comments
Closed

Use command description to fill Candidate in console #1119

gnodet opened this issue Dec 6, 2024 · 0 comments

Comments

@gnodet
Copy link
Member

gnodet commented Dec 6, 2024

It would be nice if the console registry would provide completer that can leverage the command descriptions, this would allow displaying completion list for commands like the following:

image

I think the command description could be retrieved using commandRegistry.commandInfo(name), however, the command names completer is built here and I don't see any easy way to access the command registry.

In addition, it would be nice if the Picocli registries would be somehow compatible with the needed change.

@mattirn any idea ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant