#!/usr/bin/env bash
set -euxo pipefail
cargo build
for script in completions/*; do
shell=${script##*.}
./target/debug/imdl completions --shell $shell > $script
done