#fzf #command-line-tool #selecting

rust_fzf

A library to select an item using the fzf CLI tool

7 releases

0.3.1 Mar 10, 2024
0.3.0 Mar 6, 2024
0.2.0 Mar 5, 2024
0.1.3 Mar 5, 2024
0.1.1 Feb 5, 2023

#15 in #fzf


Used in 2 crates

MIT license

5KB
83 lines

rust_fzf

Rust library to allow for selecting an item using the fzf CLI tool.

Install

cargo add rust_fzf

Usage

let selected: Result<Vec<String>, String> = select(
    vec!["hello".to_string(), "rust_fzf!".to_string()],
    Vec::new(),
);

No runtime deps