You've already forked nginx_exporter
mirror of
https://github.com/nginxinc/nginx-prometheus-exporter.git
synced 2025-07-30 10:03:04 +03:00
Add completions and manpages (#580)
This commit is contained in:
7
scripts/completions.sh
Executable file
7
scripts/completions.sh
Executable file
@ -0,0 +1,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
|
5
scripts/manpages.sh
Executable file
5
scripts/manpages.sh
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
rm -rf manpages
|
||||
mkdir manpages
|
||||
go run . --help-man | gzip -c -9 >manpages/nginx-prometheus-exporter.1.gz
|
Reference in New Issue
Block a user