node package manager

confirm

RealJSON Build Status

Command line confirmation tool

Installation

npm install confirm

Usage

$ confirm && echo 'yay' || echo 'nay'