1
1
mirror of https://github.com/casey/just.git synced 2024-11-23 11:04:09 +03:00
just/bin/generate-completions
2023-10-08 21:24:47 -07:00

12 lines
192 B
Bash
Executable File

#!/usr/bin/env bash
set -euxo pipefail
for script in completions/*; do
shell=${script##*.}
if [ $shell == nu ]; then
continue
fi
cargo run -- --completions $shell > $script
done