#!/bin/bash # One-liner command generator for Quick mode health check # Usage: ./generate-quick-command.sh SERVICE_NAME="$1" if [ -z "$SERVICE_NAME" ]; then echo "Usage: $0 " echo "Example: $0 watchtower" exit 1 fi echo "docker ps -a --filter \"name=$SERVICE_NAME\" --format \"table {{.Names}}\t{{.Status}}\t{{.RunningFor}}\t{{.Ports}}\" && docker stats $SERVICE_NAME --no-stream"