diff --git a/functions/backup.sh b/functions/backup.sh index f7626653..56656b9d 100644 --- a/functions/backup.sh +++ b/functions/backup.sh @@ -2,8 +2,7 @@ backup(){ -echo_backup+=("\nBackup Output") -echo_backup+=("--------------") +echo_backup+=("\nšŸ„± šŸ„° šŸ„² šŸ„ŗ šŸ…„ šŸ„æ šŸ…‚") echo_backup+=("Number of backups was set to $number_of_backups") date=$(date '+%Y_%m_%d_%H_%M_%S') [[ "$verbose" == "true" ]] && cli -c 'app kubernetes backup_chart_releases backup_name=''"'HeavyScript_"$date"'"' &> /dev/null && echo_backup+=(HeavyScript_"$date") diff --git a/functions/misc.sh b/functions/misc.sh index 663e93cc..baa1583b 100644 --- a/functions/misc.sh +++ b/functions/misc.sh @@ -2,8 +2,7 @@ sync(){ -echo_sync+=("\n\nSync Output") -echo_sync+=("-----------") +echo_sync+=("\n\nšŸ…‚ šŸ…ˆ šŸ„½ šŸ„²") cli -c 'app catalog sync_all' &> /dev/null && echo_sync+=("Catalog sync complete") #Dump the echo_array, ensures all output is in a neat order. @@ -15,8 +14,7 @@ done export -f sync prune(){ -echo -e "\n\nDocker Prune Output" -echo "-------------------" +echo -e "\n\nšŸ„³ šŸ„¾ šŸ„² šŸ„ŗ šŸ„“ šŸ… šŸ„æ šŸ… šŸ…„ šŸ„½ šŸ„“" echo "Pruned Docker Images" docker image prune -af | grep "^Total" || echo "Failed to Prune Docker Images" } diff --git a/functions/update_apps.sh b/functions/update_apps.sh index eb517a92..460877eb 100644 --- a/functions/update_apps.sh +++ b/functions/update_apps.sh @@ -3,8 +3,7 @@ commander(){ mapfile -t array < <(cli -m csv -c 'app chart_release query name,update_available,human_version,human_latest_version,container_images_update_available,status' | tr -d " \t\r" | grep -E ",true($|,)" | sort) -echo -e "\n\nAplication Update Output" -echo "------------------------" +echo -e "\n\nšŸ…„ šŸ„æ šŸ„³ šŸ„° šŸ…ƒ šŸ„“ šŸ…‚" [[ -z ${array[*]} ]] && echo "There are no updates available" && return 0 || echo "Update(s) Available: ${#array[@]}" echo "Asynchronous Updates: $update_limit" [[ -z $timeout ]] && echo "Default Timeout: 500" && timeout=500 || echo "Custom Timeout: $timeout"