forked from airlift/airline
-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
enhancementProposed Enhancement/FeatureProposed Enhancement/Featureuser-experienceImproves user experienceImproves user experience
Milestone
Description
Currently if you use an unrecognised command name this simply results in an error. It would be nice if we did something similar to git where we try to suggest what commands the user actually meant to use e.g.
git brac
git: 'brac' is not a git command. See 'git --help'.
Did you mean this?
branch
To do this we would need to modify the CLI parser so that when it cannot find a command and there is no suitable default command we try and suggest commands. By computing string similarity between the user inputs and the actual command names we could rank possible commands and show the most appropriate suggestions.
Metadata
Metadata
Assignees
Labels
enhancementProposed Enhancement/FeatureProposed Enhancement/Featureuser-experienceImproves user experienceImproves user experience