0695c4c2e3
ci / go (pull_request) Failing after 11m25s
ci / actions (pull_request) Failing after 11m25s
ci / ci (pull_request) Failing after 11m26s
ci / release-snapshot (pull_request) Failing after 1s
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci / goreleaser-check (pull_request) Has been cancelled
10 lines
424 B
Bash
Executable File
10 lines
424 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Generate bash/zsh/fish completions for every tool, named as installed.
|
|
set -euo pipefail
|
|
mkdir -p completions/bash completions/zsh completions/fish
|
|
for b in agentpr watchpr agentws agentvault agentreview agentgh; do
|
|
go run "./cmd/$b" completion bash >"completions/bash/$b"
|
|
go run "./cmd/$b" completion zsh >"completions/zsh/_$b"
|
|
go run "./cmd/$b" completion fish >"completions/fish/$b.fish"
|
|
done
|