Skip to content

Running init unattended (i.e. for Docker) #383

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

Closed
Joshfindit opened this issue Mar 8, 2017 · 2 comments
Closed

Running init unattended (i.e. for Docker) #383

Joshfindit opened this issue Mar 8, 2017 · 2 comments

Comments

@Joshfindit
Copy link

I understand that this at first glance may seem in the template scope, but I'm looking for a way to answer any template's questions without having to interact with the console.

How could something like this be done:

RUN vue init webpack-simple /tmp/hello --author="Author" --project-name="Hello" --project-description="A Vue.js project" --use-sass="No"
RUN bash -c "(cd /tmp/hello && npm install)"

Apologies if there is already a solution to this that's obvious if you have a background in Node. I did search through the documentation and did not see anything that I understood as solving this.

@OmgImAlexis
Copy link

This should be in scope for this issue so I'd be great to also see a -y option for just allowing all defaults.

@posva
Copy link
Member

posva commented Mar 8, 2017

dup of #291

@posva posva closed this as completed Mar 8, 2017
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

No branches or pull requests

3 participants