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

Issue #708: Add '--force' flag to 'vue init' command #709

Closed
wants to merge 1 commit into from
Closed

Issue #708: Add '--force' flag to 'vue init' command #709

wants to merge 1 commit into from

Conversation

codetheorist
Copy link

  • Add mock-stdin package as a dependency
  • Add mock-stdin to ask.js file
  • Add --force flag in bin/vue-init
  • Add conditional to send newline character at each prompt of --force flag is set

@posva
Copy link
Member

posva commented Jan 10, 2018

force is probably not the right naming choice. Something like --default (next version) or --yes seems more appropriate

@codetheorist
Copy link
Author

Now you've mentioned it, it does seem more logical @posva for it to be called default or yes.

@yyx990803
Copy link
Member

We will no longer be releasing new features to the 2.x branch, but thanks for contribution.

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.

3 participants