Improve scripts

This commit is contained in:
2025-11-01 18:36:06 +01:00
والد 5b6401eff3
کامیت 521f7ce304
6فایلهای تغییر یافته به همراه64 افزوده شده و 24 حذف شده

مشاهده پرونده

@@ -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

مشاهده پرونده

@@ -96,5 +96,5 @@ printf ' - %-24s → %s\n' "podman logs <name>" "View container logs"
printf ' - %-24s → %s\n' "podman exec -it <name> bash" "Access container shell"
printf ' - %-24s → %s\n' "radentop" "Monitor AMD GPU usage (if installed)"
printf ' - %-24s → %s\n' "htop" "Monitor system processes and resources"
printf ' - %-24s → %s\n' "duckai restart" "Restart all services"
printf ' - %-24s → %s\n' "duckai help" "Show DuckAI commands"
printf ' - %-24s → %s\n' "badai restart" "Restart all services"
printf ' - %-24s → %s\n' "badai help" "Show BadAI commands"

9
BadAI/issue Normal file
مشاهده پرونده

@@ -0,0 +1,9 @@
__________ .___ _____ .___
\______ \_____ __| _/ / _ \ | |
| | _/\__ \ / __ | / /_\ \| |
| | \ / __ \_/ /_/ | / | \ |
|______ /(____ /\____ | \____|__ /___|
\/ \/ \/ \/
B A D A I - H O S T ( U B U N T U , A M D G P U )