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

feat(chore): suggest matching commands #75

Closed
wants to merge 1 commit into from
Closed

feat(chore): suggest matching commands #75

wants to merge 1 commit into from

Conversation

jamesgeorge007
Copy link
Member

@jamesgeorge007 jamesgeorge007 commented Nov 18, 2019

Suggest matching commands if the user makes a typo.

$ docsify ini
Usage: docsify <init|serve> <path>

Commands:
  init [path]   Creates new docs
  serve [path]  Run local server to preview site.
  start <path>  Server for SSR

Global Options
  --help, -h     Show help                                             [boolean]
  --version, -v  Show version number                                   [boolean]

Documentation:
  https://docsifyjs.github.io/docsify
  https://docsifyjs.github.io/docsify-cli

Development:
  https://github.com/docsifyjs/docsify-cli/blob/master/CONTRIBUTING.md


Did you mean init?

@anikethsaha
Copy link
Member

@jamesgeorge007 can you do this change in this itself #74 and change that title ?

@anikethsaha
Copy link
Member

Also, I am planning to have a next version roadmap, where I will suggest some more refinement on this cli and with tests. 👍

@jamesgeorge007 jamesgeorge007 deleted the feat/suggest-matching-cmd branch November 18, 2019 16:10
@jamesgeorge007
Copy link
Member Author

Shipped with #74 🚀

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

Successfully merging this pull request may close these issues.

None yet

2 participants