40Digits / helperpress

A tool for automating much of the WordPress development workflow
8 stars 2 forks source link

use wp-cli for search-replace instead of secondary library #32

Open chuckmo opened 9 years ago

chuckmo commented 9 years ago

One big complexity here is that the search and replace needs to take place on a different database than the local db. As far as I can tell, there is no way to execute a wp-cli command and specify ad-hoc database credentials. This make doing a search and replace for a remote environment a challenge.