front / wp-cli-build

Fetch specific versions of plugins/themes from wordpress.org using a build file
43 stars 7 forks source link

--clean supress confirmation #18

Closed florianbepunkt closed 5 years ago

florianbepunkt commented 5 years ago

Would it be possible to have an option to supress the confirmation when using --clean? This poses problems in non-interactive environments such as CI workflows.

I can look into adding this feature. Probably the warning could be supressed if --quiet parameter is passed as well.

fabioneves commented 5 years ago

I've added the 'yes' parameter to confirm such questions, so if you use wp build --clean --yes, it should skip the question now.

florianbepunkt commented 5 years ago

Great, thank you.