d3/confirmcomposerpackage

Confirmation request for every kind of questions and packages

1.0.0.0 2018-12-19 22:02 UTC

README

can used for every kind of questions and packages

License Latest Stable Release

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