d3 / confirmcomposerpackage
Confirmation request for every kind of questions and packages
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 5
Forks: 0
Open Issues: 0
Type:composer-plugin
Requires
- composer-plugin-api: ^1.1
This package is auto-updated.
Last update: 2024-12-20 21:00:25 UTC
README
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"
]
}
},