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

Default output for CLI with unknown commands #849

Closed
hsxfjames opened this issue Feb 17, 2018 · 1 comment · Fixed by #857
Closed

Default output for CLI with unknown commands #849

hsxfjames opened this issue Feb 17, 2018 · 1 comment · Fixed by #857

Comments

@hsxfjames
Copy link
Contributor

hsxfjames commented Feb 17, 2018

What problem does this feature solve?

If we invoke CLI with unknown commands from terminal, the CLI just ignore and exit.
For example:

vue something

It will output nothing.

What does the proposed API look like?

How about output the help information and tell users that the entered something is not a correct command or is an unknown command? It's just a small enhancement for user experience though.

@hsxfjames
Copy link
Contributor Author

hsxfjames commented Feb 18, 2018

Another example is that misspelling "create" to "craete":

vue craete

will output nothing, left people confused and not sure of whether the command is succeeded or failed.

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

Successfully merging a pull request may close this issue.

2 participants