Single part at the root, COMPOSE_FILE in .env

This commit is contained in:
hh
2026-09-08 20:38:27 +02:00
parent cb30b8c5d8
commit 40103e9bef
4 changed files with 142 additions and 85 deletions
+8
View File
@@ -0,0 +1,8 @@
if [ -n "${ZSH_VERSION-}" ]; then
TEMPLATES_HOME="${${(%):-%x}:A:h}"
else
TEMPLATES_HOME="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
fi
newproject() { uv run --script "$TEMPLATES_HOME/templates.py" new "$@"; }
updateproject() { uv run --script "$TEMPLATES_HOME/templates.py" update "$@"; }