Starting development on a Reset Site add-on

That sounds like a plan!

I did some more digging on this with the intent to push the convo to a solution in upstream wpcli. Basically it looks like the wp db subcommands need to implement the --defaults global flag for them to work.

The wpcli config.yml file that Local uses, introduces those flags for the subcommands that are supported, but something like wp db reset doesn’t allow that global flag. Here’s a screenshot that I hope helps illustrate the issue:

I’m not as familiar with the wpcli codebase, but if you’d like to ping anyone you know to join this convo and help get the ball rolling with submitting an issue/pull request to upstream wpcli, I can definitely help get things wired up on the Local side!