d3/confirmcomposerpackage

Confirmation request for every kind of questions and packages

1.0.0.0 2018-12-19 22:02 UTC

This package is auto-updated.

Last update: 2024-12-20 21:00:25 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"
      ]
    }
  },