Open gbroques opened 4 years ago
For example,
$ osewb lintt osewb: error: argument command: invalid choice: 'lintt' (choose from 'test', 'lint', 'docs', 'make', 'browse', 'br', 'build', 'bld')
We could say: did you mean osewb lint?.
did you mean osewb lint?
For example, git does this:
git
$ git checkoutt git: 'checkoutt' is not a git command. See 'git --help'. The most similar command is checkout
The following looks the most promising:
from difflib import SequenceMatcher m = SequenceMatcher(None, "NEW YORK METS", "NEW YORK MEATS") m.ratio() ⇒ 0.962962962963
For example,
We could say:
did you mean osewb lint?
.For example,
git
does this: