Skip to content

Commit d82de15

Browse files
committed
chore: Create scripts/build-completions.sh
1 parent 455f0ca commit d82de15

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

scripts/build-completions.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/bash
2+
3+
set -euo pipefail
4+
5+
rm -rf completions
6+
mkdir completions
7+
8+
go build .
9+
10+
./clive completion bash > completions/clive.bash
11+
./clive completion zsh > completions/clive.zsh
12+
./clive completion fish > completions/clive.fish

0 commit comments

Comments
 (0)