wordpress-webpack-workflow
wordpress-webpack-workflow copied to clipboard
Install without prompt
I'm creating a bash script that automatically sets up WordPress, plugins, theme, etc. just the way I want them to start new projects. I'd like to run the npx wp-strap webpack "projectName:Your plugin name"...
command through this script and have it execute without waiting for me to respond "Y" to the "Looks good?" question, so that the entire script goes from start to finish without waiting on me for input half way through, and I have wp-strap's build tools installed at the end of that process.
Is there a way to automatically answer yes or skip the prompt altogether so I can programmatically run the install without user input?
Thanks!