E 661 improve unknown command error message#39
Merged
nainglinnkhant merged 12 commits intoOct 3, 2025
Conversation
Contributor
|
bugbot run |
danielwasmus
self-requested a review
October 3, 2025 14:52
nainglinnkhant
force-pushed
the
e-661-improve-unknown-command-error-message
branch
from
October 3, 2025 18:28
9511ef5 to
c5cf811
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
Enhances CLI UX with smarter unknown-command errors (suggestions, deprecation notice) and adds automatic update checks.
mxbai,store,config, andstore filesusingformatUnknownCommandErrorwith suggestions and avs→storedeprecation notice.showHelpAfterError()on root and subcommands.completion-serverfrom suggestions.checkForUpdates(version)with cached NPM lookup and banner output inupdate-checker.ts.utils/command-suggestions.ts(Levenshtein-based suggestions, formatted error output).Written by Cursor Bugbot for commit c5cf811. This will update automatically on new commits. Configure here.