Improve scripts

Este commit está contenido en:
2025-11-01 18:36:06 +01:00
padre 5b6401eff3
commit 521f7ce304
Se han modificado 6 ficheros con 64 adiciones y 24 borrados

Ver fichero

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
# DuckAI command-line tool
# Usage: duckai restart [--sleep N]
# BadAI command-line tool
# Usage: badai restart [--sleep N]
set -e # Exit on error
@@ -124,10 +124,10 @@ if [[ "$1" == "restart" ]]; then
fi
elif [[ "$1" == "help" || -z "$1" ]]; then
cat <<'EOF'
D U C K A I - C O M M A N D L I N E
B A D A I - C O M M A N D L I N E
--------------------------------------------------------------------------------
Usage: duckai <command> [options]
Usage: badai <command> [options]
Commands:
restart [--sleep N] [name] Restart all quadlet containers and networks, or a specific one by name (without prefix), reload systemd user daemon
@@ -138,5 +138,5 @@ Options:
EOF
else
echo "Unknown command: $1"
echo "Use 'duckai help' for usage."
echo "Use 'badai help' for usage."
fi