#!/usr/bin/env bash # Load pi-asr local env (secrets live in the gitignored .env). # Run from the repo root: source ./env.sh [ -f ./.env ] && { set -a; . ./.env; set +a; } || { echo "[pi-asr] no ./.env found (run this from the repo root)"; return 1 2>/dev/null || exit 1; } _k="${ASR_API_KEY:-}" [ -n "$_k" ] && _m="set (${#_k} chars, ${_k:0:5}...)" || _m="UNSET" echo "[pi-asr] ASR_NIM_URL=${ASR_NIM_URL:-} key=${_m}" unset _k _m