@mitchellsimoens/pre-prompt
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

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.

Package Sidebar

Install

npm i @mitchellsimoens/pre-prompt

Weekly Downloads

1

Version

1.0.3

License

MIT

Unpacked Size

5.53 kB

Total Files

6

Last publish

Collaborators

  • mitchellsimoens-user