You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wrong execution when calling acquiacli deploy:prepare.
On the example section on Readme file, it says acquiacli deploy:prepare UUID, environmentFrom, environmentTo
# Copy the files and db from alpha to dev for testing new code
acquiacli deploy:prepare prod:myacquiasite alpha dev
but looking deeply on DeployCommand.php it is public function deployPrepare($uuid, $environmentTo, $environmentFrom = null).
Expected behavior
I believe the expected behavior must be:
# Copy the files and db to dev from alpha for testing new code.
acquiacli deploy:prepare prod:myacquiasite **dev alpha**
Also, it could be more clear regarding not passing the last argument, which means that it is going to pull the db and files from production.
Additional context
Tested on acquia_cli:2.0.3 tag.
Thanks for this very helpful project.
The text was updated successfully, but these errors were encountered:
Thank you for this report. Would it make sense to have a confirm action in there which prompts the user to agree to the deploy task and to explicitly state the from and the to?
Describe the bug
Wrong execution when calling acquiacli deploy:prepare.
On the example section on Readme file, it says
acquiacli deploy:prepare UUID, environmentFrom, environmentTo
but looking deeply on DeployCommand.php it is
public function deployPrepare($uuid, $environmentTo, $environmentFrom = null)
.Expected behavior
I believe the expected behavior must be:
Also, it could be more clear regarding not passing the last argument, which means that it is going to pull the db and files from production.
Additional context
Tested on acquia_cli:2.0.3 tag.
Thanks for this very helpful project.
The text was updated successfully, but these errors were encountered: