Crates.io | arbor-cli |
lib.rs | arbor-cli |
version | 0.1.0 |
source | src |
created_at | 2024-11-05 17:54:16.762985 |
updated_at | 2024-11-05 17:54:16.762985 |
description | A trie-based auto-completion tool. |
homepage | |
repository | |
max_upload_size | |
id | 1436864 |
size | 118,638 |
Arbor is a command-line application written in Rust, designed to provide quick, trie-based autocomplete suggestions. Arbor lets users enter words interactively and suggests completions based on the input prefix.
In interactive mode, Arbor will prompt you to enter words or prefixes. Based on the entered text, it will provide autocomplete suggestions.
You can install Arbor using Cargo:
cargo install arbor-cli
After installation, simply run arbor
in your terminal:
arbor-cli
-l
, --language <LANGUAGE>
: Specifies the language for suggestions (e.g., en-US
).-t
, --thread-count <THREAD_COUNT>
: Sets the number of threads for processing (e.g., 4
).-m
, --max-suggestion <MAX_SUGGESTION>
: Limits the number of suggestions returned for a prefix (e.g., 5
).-b
, --backup
: Enables backup mode. When this flag is set, you must also specify the --output
option.-o
, --output <FILE>
: Specifies the file path for saving backup suggestions (only applicable if --backup
is enabled).To exit the application, you can use Ctrl+C
or Esc
.
Contributions are welcome! Feel free to fork the repository, open issues, or submit pull requests.
This project is licensed under the MIT License. See the LICENSE file for more details.