felixSchl / neodoc

Beautiful, hand-crafted commandline interfaces for node.js
https://felixschl.github.io/neodoc
MIT License
226 stars 9 forks source link

Implement "Did you mean?" #68

Open felixSchl opened 7 years ago

felixSchl commented 7 years ago

Should be fairly straight forward. We already have e.g. Unknown option --hel. Expected --help, so make this look like: Unkown option --hel. Did you mean --help? based on a substring match or diffing.

matthewmueller commented 7 years ago

i just implemented something like this. here's a quick link dump of two different options: