fao/scripts/run_ingest.sh
2026-04-23 19:24:46 +08:00

7 lines
188 B
Bash

#!/usr/bin/env bash
set -euo pipefail
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
cd "$ROOT"
export PYTHONPATH="${ROOT}/src:${PYTHONPATH:-}"
exec python -m fao.ingest.cli "$@"