feature/add-create-repo-script #2

Merged
hzhang merged 3 commits from feature/add-create-repo-script into main 2026-04-01 00:45:19 +00:00
Showing only changes of commit 38f5a52a14 - Show all commits

View File

@@ -4,8 +4,10 @@ set -euo pipefail
# Get the directory where this script is located
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
# Default workspace (can be overridden by AGENT_WORKSPACE env var)
AGENT_WORKSPACE="${AGENT_WORKSPACE:-/root/.openclaw/workspace/workspace-mentor}"
if [[ -z "${AGENT_WORKSPACE:-}" ]]; then
echo "Error: AGENT_WORKSPACE environment variable is not set"
exit 1
fi
usage() {
echo "Usage: $0 <repo-name>"