Open tmuka opened 8 years ago
I arrived here also looking for an answer, trying to create a non-interactive install script
found 2 solutions, first it looks like if you pass --default its supposed to automatically choose default values or bypass the interactive nature of the script. That said, I couldn't ever get it to work, it just stalled when I used it. the second option was to pipe in the default answers. I haven't tested this to completion, but it definitely "appears" to work from the CLI responses I get.
# BUILD VVV SITE USING VV NON-INTERACTIVE
echo "Autmated VV Script V9"
echo "y" | vv \
--defaults \
--debug-vv create \
-d automatedvv.dev -n automatedvv.dev \
-f -i -x -m subdomain \
-rd \
-db false \
-wv "latest" \
-gr false \
-sc \
-u "fansided.com"
echo "END Autmated VV Script V9"
I know i can pass some of these command line flags for
vv create
, but is it possible to pass N or No to them so i'm not prompted interactively?