suggestions ¶
Command suggestion utilities.
Classes:
-
CommandSuggester–Handles command suggestions for CommandNotFound errors.
Classes¶
CommandSuggester ¶
Python
CommandSuggester()
Handles command suggestions for CommandNotFound errors.
Initialize the command suggester.
Methods:
-
suggest_command–Find similar command names using Levenshtein distance.
-
handle_command_not_found–Handle CommandNotFound with suggestions.