I have created an Electron app which uses wp-cli to create a WordPress install which is tuned to my personal developing preferences when starting a new client project. It uses the npm wp-cli (wp-cli - npm) extensively. For example it creates pages, custom post types, gets my custom starter theme and installs plugins. This is great to hit the ground running on every new project.
I recently started using Local so I’d like to adapt my Electron app to have the site be added to Local automatically.
So the questions are:
- Is this currently possible?
- What would be the way (or workaround) to accomplish this?