Crates.io | suggestion-cli |
lib.rs | suggestion-cli |
version | 0.3.1 |
source | src |
created_at | 2022-02-01 14:31:15.575832 |
updated_at | 2022-02-01 17:51:53.593312 |
description | A CLI tool for similar name suggestions to provide helps like "Did you mean?" |
homepage | https://github.com/ken-matsui/suggestion#readme |
repository | https://github.com/ken-matsui/suggestion/ |
max_upload_size | |
id | 525195 |
size | 13,091 |
A CLI tool for similar name suggestions to provide helps like "Did you mean?"
The library version is placed here.
cargo install suggestion-cli
$ suggest --help
suggestion-cli 0.3.1
A CLI tool for similar name suggestions to provide helps like "Did you mean?"
USAGE:
suggest [OPTIONS] <INPUT> [VALUES]...
ARGS:
<INPUT> Input to check if similar name exists
<VALUES>... Values of similar names
OPTIONS:
-d, --distance <DISTANCE> Levenshtein Distance
-h, --help Print help information
-q, --quiet Disable console outputs
-V, --version Print version information
$ suggest instakk update install
The `instakk` input is similar to `install`.
$ suggest hoge update install
No similar name for the `hoge` input was found.
$ suggest install update install
The same value with the `install` input exists.
$ suggest paoc poac poacpp
No similar name for the `paoc` input was found.
$ suggest paoc poac poacpp --distance 2
The `paoc` input is similar to `poac`.
Contributions, including issues and pull requests, are very welcome.