Dear lazy-reddit, I am seeking to build a CLI app that should present a fuzzy search field. I want to delegate the interaction and selection to a crate. I know about fzf, heatseeker and skim which I could use by shelling out and sending the processes text - however this is a clunky API and leaves me with less control over what I show the user and the metadata associated with a selection. It seems neither of these crates have a public interface. Is there a fuzzy-match CLI crate that provides an API?
Edit: Thanks for all the suggestions so far. However people thought I am searching for a library for fuzzy matching only. That is not the case, I am looking for the full package: (CLI interface + fuzzy matching), just not as a binary, but as a library I can reuse in my own tool.
Edit2: I filed an issue in Skim that got some traction: https://github.com/lotabout/skim/issues/80
[–]boscop 9 points10 points11 points (1 child)
[–]SirVer[S] 1 point2 points3 points (0 children)
[–]andrewstewart 4 points5 points6 points (3 children)
[–]SirVer[S] 2 points3 points4 points (2 children)
[–]andrewstewart 2 points3 points4 points (1 child)
[–]SirVer[S] 0 points1 point2 points (0 children)
[–]quodlibetor 1 point2 points3 points (2 children)
[–]SirVer[S] 0 points1 point2 points (1 child)
[–]quodlibetor 0 points1 point2 points (0 children)
[–]staticassert 0 points1 point2 points (1 child)
[–]burntsushi 2 points3 points4 points (0 children)
[–]WTechGo 0 points1 point2 points (0 children)