Parcourir la source

Add auto helper

cere il y a 1 mois
Parent
commit
5a8cd20e65
1 fichiers modifiés avec 16 ajouts et 0 suppressions
  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 "$@"