#!/usr/bin/env bash set -euo pipefail cd "$(dirname "$0")/.." cargo fmt --check cargo test cargo run -- dictionary generate test -s dictionary/actions.jsonl test -s dictionary/actions.index.json echo "precommit check complete"