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

Show a message when using the cli with a wrong option #3640

Closed
cricrio opened this issue Jan 21, 2018 · 4 comments
Closed

Show a message when using the cli with a wrong option #3640

cricrio opened this issue Jan 21, 2018 · 4 comments
Labels
good first issue Issue that doesn't require previous experience with Gatsby

Comments

@cricrio
Copy link
Contributor

cricrio commented Jan 21, 2018

I try to start my project with gatsby create my-blog in place of gatsby new my-blog.
When we use the cli with a wrong argument it does nothing.
I think it should be better if the cli throws an error message or shows the different options.

@fk fk added the DX label Jan 21, 2018
@KyleAMathews KyleAMathews added the good first issue Issue that doesn't require previous experience with Gatsby label Jan 22, 2018
@KyleAMathews
Copy link
Contributor

Great suggestion! This would need added here: https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-cli/src/create-cli.js

@KyleAMathews
Copy link
Contributor

Would love a PR from you @cricrio if you could look into it or anyone else who'd like to jump on this nice UX improvement.

@cricrio
Copy link
Contributor Author

cricrio commented Jan 23, 2018

Nice to hear that! I will try to do it.

@tsriram
Copy link
Contributor

tsriram commented Jan 25, 2018

Closed with #3668

@tsriram tsriram closed this as completed Jan 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Issue that doesn't require previous experience with Gatsby
Projects
None yet
Development

No branches or pull requests

4 participants