#!/usr/bin/env bash
# The team's command line printer (print_ufp.py, Aaron / Tudor) with the app config.
# Example:  ./run_team_cli.sh out/cat.svg --dry-run
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
export PANCAKE_FIRMWARE_DIR="$SCRIPT_DIR/team/firmware/scripts"
export PYTHONPATH="$SCRIPT_DIR/third_party/ufp/Python"
export PYTHONDONTWRITEBYTECODE=1
"$SCRIPT_DIR/.venv/bin/python3" "$SCRIPT_DIR/team/software/scripts/print_ufp.py" "$@" -c "$SCRIPT_DIR/app/pancake_config.yaml" -o "$SCRIPT_DIR/out"
