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
go get github.com/minoritea/yesno
yesno
is a simple command providing a 'yes/no' prompt to your shell script.
go get github.com/minoritea/yesno
#!/bin/bash
if yesno "are you sure?";then # if you type y
# continue to execute your commands
fi