can used for every kind of questions and packages
To implement the confirmation, add this to the composer.json of your package:
"require": { ..., "d3/confirmcomposerpackage": "^1.0" }, "extra": { "packageConfirmation": { "question": "your confirmation question (y/N) ", "acceptedanswers": [ "y", "yes" ] } },