Automate dir and DB stack creation with WP-CLI
WP-CLI has a bunch of helpful commands, including some to perform basic database operations. However, it’s not its job to create new users in MySQL and grant them permissions on a newly created database. So that part of your script can’t really be replaced with WP-CLI. You’re still in luck though. The wp core command … Read more