Crates.io | tui_selector |
lib.rs | tui_selector |
version | 0.1.1 |
source | src |
created_at | 2023-05-07 16:52:06.726267 |
updated_at | 2023-05-21 10:47:50.779786 |
description | simple TUI list selector |
homepage | https://codeberg.org/gneb000/tui_selector |
repository | https://codeberg.org/gneb000/tui_selector |
max_upload_size | |
id | 859273 |
size | 24,513 |
Text based list selector, reads a list from stdin and prints selected items to stdout.
tui_selector [OPTIONS]
-n, --numbering Add line numbers
-i, --id-mode Provide list with format "ID::line\n", output selected IDs (more details below)
-h, --help Print help
-V, --version Print version
Provided list has an ID for each line and should be used as output, but not displayed in the selector. Use "::" as delimiter between the ID and the line content, ID goes first (i.e., "ID::line_content").