8
0
Fork 0
confirmcomposerpackage/README.md

18 Zeilen
325 B
Markdown

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"
]
}
},
```