polish format

This commit is contained in:
Heavybullets8 2022-07-27 10:03:34 -06:00
parent 97b65f746d
commit 27eb8b0e61
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
sync(){
echo_sync+=("\nSync Output")
echo_sync+=("\n\nSync Output")
echo_sync+=("-----------")
cli -c 'app catalog sync_all' &> /dev/null && echo_sync+=("Catalog sync complete")
@ -15,7 +15,7 @@ done
export -f sync
prune(){
echo -e "\nDocker Prune Output"
echo -e "\n\nDocker Prune Output"
echo "-------------------"
echo "Pruned Docker Images"
docker image prune -af | grep "^Total" || echo "Failed to Prune Docker Images"

View File

@ -3,7 +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 "\nAplication Update Output"
echo -e "\n\nAplication Update Output"
echo "------------------------"
[[ -z $array ]] && echo "There are no updates available" && return 0 || echo "${#array[@]} update(s) available"
[[ -z $timeout ]] && echo "Default Timeout: 500" && timeout=500 || echo "Custom Timeout: $timeout"