rusure
v1.0.1
Published
Print "Are you sure?" before critical commands.
Downloads
4
Maintainers
Readme
R U Sure?
Print "Are you sure?" before critical commands.
Installation
npm install rusure --save --dev
Usage
Basic usage
npx rusure
# print "Are you sure? (y/N)"
Custom message
npx rusure "continue? (y/N)"
# print "continue? (y/N)"
Set env RUSURE_SKIP=1, then skip. You can use in CI Server.
RUSURE_SKIP=1 npx rusure
Example
package.json
{
"scripts": {
"deploy:dev": "sls deploy --stage dev",
"deploy:prod": "rusure && sls deploy --stage prod"
}
}