some light refactoring and general cleanup

This commit is contained in:
2025-06-30 12:04:16 -05:00
parent 781d438d4a
commit 363fd3eef3
5 changed files with 29 additions and 42 deletions

18
includes/PrettyPrint.sh Normal file
View File

@@ -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
}