Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: suggest matching commands if the user mistypes #35

Open
jamesgeorge007 opened this issue Dec 13, 2019 · 1 comment
Open

Comments

@jamesgeorge007
Copy link

jamesgeorge007 commented Dec 13, 2019

Say we've the following CLI definition:-

my-cli <command> [options]

init - Initialize
serve - serve the project
generate - scaffold out a new project

-V, version
-h, help information

If we're to go with commander.js, tj/commander.js#1015 (comment) would make it possible. While, yargs is shipped with a dedicated recommendCommands() method as part of the API. It would be great if the feature was implemented here with sade as well.

@jamesgeorge007
Copy link
Author

@lukeed I would be happy to submit a PR 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant