One of the most repetitive tasks for developers is standing up a new development site, if your like me then you always are looking for ways to get consistent results and save time. Obviously one way is it make a “core” and zip it and always deploy from the zip. That works, but you then have to go through and find and replace a bunch of values in the db, update the plugins and if you’re doing all that from within the admin takes time, which could be better spent starting to theme the site or adding test content and building out some pages to see how everything is going to layout on the screen.
Solution: WP CLI and a little bit of bash scripting