Skip to content

fzf choice support #2047

Description

@nikochiko

fzf is a popular fuzzy finder tool that can do fuzzy matching within a list of strings (https://github.com/junegunn/fzf)
There should be an easy way to use fzf to display choices for a prompt if it is available (installed by the user).

When there is a large number of choices, the up and down arrows are inconvenient. With fuzzy matching you can type the part of the option that you remember and it will keep narrowing it down. It is not possible to integrate it with click.prompt. It is possible to do it with some other libraries (https://github.com/nk412/pyfzf) - like this one.

I am willing to contribute the code for this

Metadata

Metadata

Assignees

No one assigned

    Labels

    promptInteractive input and confirmation

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions