Open clconway opened 5 years ago
I'd like for Commander.Execute to print a suggestion if the given subcommand looks like a typo similar to what Git does:
Commander.Execute
$ 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.
I'd like for
Commander.Execute
to print a suggestion if the given subcommand looks like a typo similar to what Git does:I have a simple implementation of this using https://github.com/agext/levenshtein that I will attach as a PR.