Repository navigation
v1.1.0 - Support Minor Typos in Commands
·
13 commits
to master
since this release
[2025-09-07] - Support Minor Typos in Commands
- Added fuzzy matching for command keywords in
CommandParserto tolerate minor typos (up to 2 edits). - Introduced
FuzzyMatcherutility implementing Levenshtein distance for approximate string matching. - Added
CommandType.allKeywords()to provide all command keywords for fuzzy matching. - Commands now correctly recognize input with small typos, improving usability (e.g.,
"fnd"→"find","lits"→"list"). - Maintains existing argument validation and no-argument command handling.