just/bin/generate-completions

14 lines
212 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
set -euxo pipefail
cargo build
for script in completions/*; do
shell=${script##*.}
2023-10-08 21:24:47 -07:00
if [ $shell == nu ]; then
continue
fi
./target/debug/just --completions $shell > $script
done