ichoose

Crates.ioichoose
lib.rsichoose
version0.2.1
sourcesrc
created_at2024-07-12 14:12:41.198679
updated_at2024-07-27 08:14:07.977231
descriptionInteractive terminal list selection (lib+bin)
homepage
repositoryhttps://github.com/nanocryk/iforgor
max_upload_size
id1300748
size34,713
(nanocryk)

documentation

README

ichoose

ichoose crate ichoose documentation

This crate manages the interactive menu with customizable features, which allows you to use it in your Rust applications or scripts. It supports customizing the lists being showed and enabling multi-selection.

The binary version for scripts allow performing a selection amongst a list provided in the standard input, formatted as one entry per line as ID @ NAME (if @ is not found then the line will be used both as the id and name). Once entries are selected it will returns only the ID, one per line. It can be used in piped command where grep would be used, but instead allows the user to perform the selection.

Multi-selection can be enabled with flag --multi, while title and bottom text can be customized using --title <TITLE> and --text <TEXT>.

Commit count: 29

cargo fmt