#!/usr/bin/env bash

set -euo pipefail

cd "$(dirname "$0")/.."

echo "Generating action metadata..."
cargo run -p zed -- --dump-all-actions > crates/docs_preprocessor/actions.json

echo "Generated crates/docs_preprocessor/actions.json with $(grep -c '"name":' crates/docs_preprocessor/actions.json) actions"
