Simple install script(s)
Opened this issue · 0 comments
JSn1nj4 commented
Probably the easiest way forward is a PHP script that just gets executed using the environment's PHP CLI executable.
Requirements
- Run somewhere inside a WordPress project
- Can probably look for specific WP file in current directory, or check up tree recursively
- Error if not in WP dir
- Detect where the project root is
- Determine where the "mu-plugins" folder is from there
- Create "mu-plugins" if it doesn't exist
- Install the plugin entry point file and main plugin folder