You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it should output the default error message with a tip for the most nearest matching command availabe for the parent command
for instance something like this
Operating System
Linux
Operating System Details
No response
Typer Version
0.15.1
Python Version
Python 3.11.11
Additional Context
If not, than i'm ready to implement this feature, using Levenshtein distance algorithm which git and many other application also uses to recommend the nearest matching correct command, and there is a library (Levenshtein) which makes it easy to implement
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
First Check
Commit to Help
Example Code
Description
Now i want if user run it like it
it should output the default error message with a tip for the most nearest matching command availabe for the parent command
for instance something like this
Operating System
Linux
Operating System Details
No response
Typer Version
0.15.1
Python Version
Python 3.11.11
Additional Context
If not, than i'm ready to implement this feature, using Levenshtein distance algorithm which git and many other application also uses to recommend the nearest matching correct command, and there is a library (Levenshtein) which makes it easy to implement
Beta Was this translation helpful? Give feedback.
All reactions