command-exists-promise

Checks whether a command line command exists in the current environment.

inquirer-confirm

Simple confirm yes/no question for CLI node applications, returns a promise, built on top of inquirer