github.com/minoritea/yesno


License
MIT
Install
go get github.com/minoritea/yesno

Documentation

yesno

yesno is a simple command providing a 'yes/no' prompt to your shell script.

How to install

go get github.com/minoritea/yesno

Usage

#!/bin/bash
if yesno "are you sure?";then # if you type y
  # continue to execute your commands
fi

License

MIT LISENCE