Improve misspelled subcommand error message #8
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Right now, if a subcommand is misspelled, the subcommand lookup will fail and the parser will return
ParseError.ExtraValue
which isI don't think something like git's fuzzy match levenshtein distance technique to provide subcommand suggestions is necessary, but we should definitely detect this case and
Obviously this error would only occur for a command that contains subcommands.
Improve typo subcommand error messageto Improve misspelled subcommand error message