diff --git a/includes/pretty_print.sh b/includes/pretty_print.sh new file mode 100644 index 0000000..8f821a1 --- /dev/null +++ b/includes/pretty_print.sh @@ -0,0 +1,18 @@ +function print_info() +{ + GREEN='\033[0;32m' + NC='\033[0m' + tput bold + echo -e "$GREEN $1${NC}" + tput sgr0 +} + +function print_error() +{ + RED='\033[0;31m' + NC='\033[0m' + tput bold + echo -e "$RED $1${NC}" + echo "$1" + tput sgr0 +} \ No newline at end of file