#!/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