Make shell more easy to use.
npm install -g easy-shell
#!/bin/bash
. load-easy-shell
# use easy shell components
options='
~/Projects/a
~/Projects/b
~/Projects/c
'
list "Choose a file" "$options"
echo $(result)
confirm "Are you sure" "Y"
if [ "$(result)" == "yes" ]; then
echo 'yes'
else
echo 'no'
fi