Subcommand suggestions for typos
Open
- Dominant language
- Go
- Stars
- 795
- Forks
- 51
- PR merge metrics
- No merged PRs in 30d
Description
I'd like for `Commander.Execute` to print a suggestion if the given subcommand looks like a typo similar to what Git does:
```shell
$ git brunch
git: 'brunch' is not a git command. See 'git --help'.
The most similar command is
branch
```
I have a simple implementation of this using https://github.com/agext/levenshtein that I will attach as a PR.
Contributor guide
Assessment
This issue has not been assessed yet.