From 3ad6977685e273482a9f2f957cf4cfb4ddc98259 Mon Sep 17 00:00:00 2001 From: ReachableCEO Date: Mon, 30 Jun 2025 11:44:39 -0500 Subject: [PATCH] pretty printing now in the framework. --- includes/pretty_print.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 includes/pretty_print.sh 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