EasyEngine CRUD using wp-cli
This repository contains the code for implementing EasyEngine like CRUD operations using wp-cli., (*1)
WEBROOT_PATH
before trying these commands. This has been done due to the fact that this directory might vary from system to system and environment to environment. Also kindly note that these commands currently does not create actual files, they just create a text file containing all the details.wp ee site create example.com --html
wp ee site create example.com --php wp ee site create example.com --php7
wp ee site create example.com --mysql
wp ee site create example.com --wp // creates WP site with php5.6, mysql5.6. wp ee site create example.com --wpredis // creates WP site with redis cache wp ee site create example.com --wpfc //creates WP site with FasCGI cache
wp ee site delete example.com wp ee site delete example.com --files // deletes wesite webrot only wp ee site delete example.com --db // deletes DB of website only wp ee site delete example.com --no-prompt // deletes complete site without any prompt
wp ee site list // lists all the files present in the sites directory
wp ee site show example.com // shows the text file of website present in website webroot
wp ee site update example.com --mysql // update website to mysql 5.6 wp ee site update example.com --wp // updating plain html,php and other sites to WP sites wp ee site update example.com --wpredis // update other sites with redis cache wp ee site update exmaple.com --wpfc // update other sites with FastCGI cache