Update scripts/new-dotnet-api-app.sh

This commit is contained in:
2026-06-15 07:52:01 +00:00
parent 8c6ea00570
commit b59c942245
+3
View File
@@ -12,6 +12,7 @@ if [ -z "$APP_ID" ]; then
fi
APP_DIR="$WORKSPACE_DIR/$APP_ID"
TOOLS_DIR="$WORKSPACE_DIR/appfactory-tools"
PROJECT_NAME="$(python3 - "$APP_ID" <<'PY'
import re, sys
parts = re.split(r'[^a-zA-Z0-9]+', sys.argv[1])
@@ -100,6 +101,8 @@ cat > README.md <<EOF_MD
- GET /health
EOF_MD
cp "$TOOLS_DIR/AGENTS.md" "$TARGET_DIR/AGENTS.md"
git init
git config user.name "AppFactory Bot"
git config user.email "appfactory@local"