File: completions.sh

package info (click to toggle)
prometheus-nginx-exporter 1.4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,388 kB
  • sloc: makefile: 65; sh: 59
file content (7 lines) | stat: -rwxr-xr-x 171 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
#!/bin/sh
set -e
rm -rf completions
mkdir completions
for shell in bash zsh; do
    go run . --completion-script-$shell >completions/nginx-prometheus-exporter.$shell
done