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

Version command only works with directory #151

Closed
mxstbr opened this issue Jul 24, 2016 · 0 comments
Closed

Version command only works with directory #151

mxstbr opened this issue Jul 24, 2016 · 0 comments

Comments

@mxstbr
Copy link
Contributor

mxstbr commented Jul 24, 2016

I tried to get the version of create-react-app I had installed globally and thus ran

$ create-react-app --version

Which gave me this output:

Usage: create-react-app <project-directory> [--verbose]

By specifying a directory the version output works perfectly fine, but doesn't actually create a directory:

$ create-react-app test --version
create-react-app version: 0.1.0

screen shot 2016-07-24 at 09 15 17


I realize that this would be a change in the global CLI, but I think the new behaviour is much nicer and less confusing, and people who don't have the newer version installed won't have any problems either.

PR for this: #152

@mxstbr mxstbr mentioned this issue Jul 24, 2016
@lock lock bot locked and limited conversation to collaborators Jan 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant