splinter-keep/run.sh
2026-06-29 22:59:45 +02:00

13 lines
261 B
Bash
Executable File

#!/usr/bin/env bash
set -e
cd "$(dirname "$0")"
# If --action is provided, run engine CLI test; otherwise run the TUI.
if [[ "$1" == "--action" || "$1" == "-a" ]]; then
shift
python3 tools/engine.py --action "$@"
else
python3 tools/run.py "$@"
fi