#!/bin/sh set -eu SCRIPT_DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd) if [ -x "$SCRIPT_DIR/.venv/bin/python" ]; then exec "$SCRIPT_DIR/.venv/bin/python" -m pageindex.filesystem.cli "$@" fi exec python3 -m pageindex.filesystem.cli "$@"