-
Notifications
You must be signed in to change notification settings - Fork 17
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
dev-env import sql
requires user input
#1561
Comments
What version of VIP CLI are you using? This is what I see with the latest one:
|
The prompt is shown only when Elasticsearch is enabled. This could also happen if you have |
You can run |
7 tasks
7 tasks
sjinks
added a commit
that referenced
this issue
Jan 12, 2024
feat(dev-env): add quiet mode for "import sql"
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected/Desired Behavior
Run
vip dev-env import sql
without user input.Actual Behavior
Command prompts if ES should be reindexed after import, even when environment was created with
--elasticsearch=false
flag.Steps to Reproduce the Problem
vip dev-env create
(with or without--elasticsearch=false
flagvip dev-env import sql [FILE]
Additional notes
I'm working on an automation that uses
vip dev-env
to set up an environment, import a database backup that VIP shipped to our S3 bucket, and run various WP-CLI commands against the environment. The ES-indexing prompt breaks the automation by requiring user input.The text was updated successfully, but these errors were encountered: