A CLI tool for similar name suggestions to provide helps like "Did you mean?"
The library version is placed here.
bash
cargo install suggestion-cli
```bash $ suggest --help suggestion-cli 0.3.0 A CLI tool for similar name suggestions to provide helps like "Did you mean?"
USAGE: suggest [OPTIONS] [VALUES]...
ARGS:
Input to check if similar name exists
OPTIONS:
-d, --distance
``bash
$ suggest instakk update install
The
instakkinput 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.