aboutsummaryrefslogtreecommitdiffstats
path: root/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'run.sh')
-rwxr-xr-xrun.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/run.sh b/run.sh
new file mode 100755
index 0000000..bca78be
--- /dev/null
+++ b/run.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env zsh
+0="${${ZERO:-${0:#$ZSH_ARGZERO}}:-${(%):-%N}}"
+0="${${(M)0:#/*}:-$PWD/$0}"
+
+
+source ${0:h}/.env
+source ${0:h}/venv/bin/activate
+python3 ${0:h}/$1