intermodal/bin/generate-completions

11 lines
172 B
Plaintext
Raw Normal View History

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