alleyinteractive / create-wordpress-project

A starter structure for the wp-content directory on a new WordPress project.
GNU General Public License v2.0
8 stars 0 forks source link

"Unconfigure" script #87

Open mogmarsh opened 7 months ago

mogmarsh commented 7 months ago

Description

During development on this project, it is tough to work on plugin-templates because you need a "configured" version of the project to make sure everything builds and works correctly, but then you need an "unconfigured" version so you can add the files to the plugin-templates folder. It would be cool to add a "unconfigure.php" script that undoes everything the configure script does, so it would move your files out of the plugin and back into plugin-templates. I'm not sure how feasible it is, but it doesn't hurt to create the issue.

Use Case

When a user is developing plugin templates on the project, they can run a script to move their files from the configured state back to the unconfigured state.