/pre-prompt

Asks the user for confirmation to proceed in a pre script.

Primary LanguageJavaScriptMIT LicenseMIT

Welcome to pre-prompt 👋

GitHub release npm npm PRs Welcome MIT Licensed

Asks the user for confirmation to proceed in a pre script.

🏠 Homepage

Install

npm install --save-exact @mitchellsimoens/pre-prompt

Usage

{
  "scripts": {
    "predeploy": "pre-prompt",
    "deploy": "...."
  }
}

When npm run deploy is run, the user will be asked to proceed. The user can type any of the following choices (case-insenstive):

  • ok
  • sure
  • yep
  • yes

Author

👤 Mitchell Simoens <mitchellsimoens@gmail.com>

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2020 Mitchell Simoens <mitchellsimoens@gmail.com>.

This project is MIT licensed.