I am writing a perl script for migrating Wordpress installations from a place to another. In this work I need to get wordpress database name from wp-config file using wp-cli calls. So please let me know how call wp-cli function from perl script for getting db name from wp-config.php.
-
i used perl file handling to read db name from wp-config.php. But same is not possible with wp-cli calls? I am also want to add some new line s to wp-config.phpHafsal– Hafsal2013-02-13 16:12:24 +00:00Commented Feb 13, 2013 at 16:12
-
I don't know how use wp cli for add some new line s to wp-config.php. Only thing i know is wp core update command to update coreHafsal– Hafsal2013-02-13 16:50:33 +00:00Commented Feb 13, 2013 at 16:50
Add a comment
|