confirmcomposerpackage/README.md

18 lines
325 B
Markdown
Raw Normal View History

2018-12-17 10:20:09 +01:00
To implement the confirmation, add this to the composer.json of your module:
```
"require": {
...,
"d3/confirmComposerPackage": "^1.0"
},
"extra": {
"packageConfirmation": {
"question": "your confirmation question (y/N) ",
"acceptedanswers": [
"y",
"yes"
]
}
},
```