Skip to content

Use command description to fill Candidate in console #1119

@gnodet

Description

@gnodet

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions