#!/bin/sh
# Author: Juan Batiz-Benet <juan@benet.ai>
# MIT LICENSED

# if not a terminal, exit 0 (yes!)
test -t 1 || exit 0

read -p "continue? [y/N] "
echo
if [[ $REPLY =~ ^[Yy] ]]; then
    exit 0
fi
exit 1
