Selaa lähdekoodia

Add auto helper

cere 1 kuukausi sitten
vanhempi
commit
5a8cd20e65
1 muutettua tiedostoa jossa 16 lisäystä ja 0 poistoa
  1. 16 0
      auto

+ 16 - 0
auto

@@ -0,0 +1,16 @@
+#!/usr/bin/env bash
+# auto — run auto.cli via Windows python.exe
+# Usage:
+#   auto [args...]
+
+set -euo pipefail
+
+PY="/mnt/d/vls-trunk/env-win64/python27/python.exe"
+
+if [[ ! -x "$PY" && ! -f "$PY" ]]; then
+  echo "Error: python.exe not found at: $PY" >&2
+  exit 1
+fi
+
+export PYTHONIOENCODING="utf-8"
+exec "$PY" -u -m auto.cli "$@"