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

fix(create): fix shouldInitGit check #1901

Merged
merged 3 commits into from
Jul 20, 2018
Merged

Conversation

haoqunjiang
Copy link
Member

closes #1899

@@ -49,7 +49,7 @@ program
.option('-i, --inlinePreset <json>', 'Skip prompts and use inline JSON string as preset')
.option('-m, --packageManager <command>', 'Use specified npm client when installing dependencies')
.option('-r, --registry <url>', 'Use specified npm registry when installing dependencies (only for npm)')
.option('-g, --git [message]', 'Force / skip git initialization, optionally specify initial commit message')
.option('-g, --git [message | false]', 'Force / skip git initialization, optionally specify initial commit message')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure commander understands this.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated.
Not sure if the new description is clear enough for end users. This option seems quite unintuitive at first glance…

@yyx990803
Copy link
Member

I've changed it to --no-git which should no longer be confusing.

@yyx990803 yyx990803 merged commit 7e6c37c into vuejs:dev Jul 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants