/confirm-bin

Zero-dependency Node.js confirm command. Useful for NPM scripts.

Primary LanguageJavaScript

Confirm

Zero-dependency Node.js confirm command. Useful for NPM scripts.

Usage

Firstly, install the package using Yarn:

yarn add --dev confirm-bin

Once that's done, use this command as follows:

yarn confirm "Do you want to continue?" && echo "Alright, let's continue!"

Author

Stephan de Vries (@stephan281094)