| Crates.io | nucleo-ui |
| lib.rs | nucleo-ui |
| version | 0.1.6 |
| created_at | 2024-04-05 13:28:01.979229+00 |
| updated_at | 2024-04-29 14:37:24.68404+00 |
| description | A simple TUI wrapper around the nucleo fuzzy matching crate |
| homepage | |
| repository | https://github.com/monishth/nucleo-ui |
| max_upload_size | |
| id | 1197334 |
| size | 52,048 |
nucleo-ui is a simple interactive command-line interface (CLI) tool that provides fast and efficient fuzzy matching capabilities. Leveraging the power of the nucleo fuzzy matching library, nucleo offers a simple and intuitive text interface for searching and comparing strings with a degree of imprecision.
[!NOTE] This is an unoffical wrapper around nucleo.
nucleo library for speedy searches.To install nucleo-ui from crates.io, ensure you have Rust and Cargo installed on your system. Follow these steps:
cargo install nucleo-ui
To install nucleo-ui from source, ensure you have Rust and Cargo installed on your system. Follow these steps:
Clone the repository:
git clone https://github.com/monishth/nucleo-ui.git
Navigate to the cloned directory:
cd nucleo-ui
Build and install the tool:
cargo install --path .
After installation, you can run nucleo from your command line.
With no arguments, nucleo-ui will list directories in the current path with min/max depth 1:
nucleo
The output of nucleo-ui will be written to stdout.
-p, --path: Specify path to search (default: '.')-d, --directory: Specify whether to only look for directories (default: false)--min-depth <NUMBER>: Specify the minimum depth to search (default: 1)--max-depth <NUMBER>: Specify the maximum depth to search (default: 1)-h, --help: Display help information.CTRL-C / ESC: Quit
Enter: Select the current item
Up / Down: Move cursor up and down
List paths in the home directory with min depth 2 and max depth 4:
nucleo -d ~/ --min-depth 2 --max-depth 4
nucleo-ui will also read from STDIN This will load the finder with the output of ls
ls | nucleo
Contributions are welcome! If you're interested in improving nucleo-ui, see the steps below:
git checkout -b feature/AmazingFeature).git commit -m 'Add some AmazingFeature').git push origin feature/AmazingFeature).