github.com/minoritea/yesno

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


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