polish format
This commit is contained in:
		| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user