xh/generate.sh
Mohamed Daahir f46d53ce44
Remove empty line
Co-authored-by: Jan Verbeek <jan.verbeek@posteo.nl>
2022-01-29 23:11:12 +00:00

16 lines
383 B
Bash
Executable File

#!/bin/sh
# Generate man page and completions
set -e
cd "$(dirname "$0")"
XH_HELP2MAN=1 help2man \
--include 'doc/man-template.roff' \
--help-option 'help' \
--version-option '-V' \
--name 'Friendly and fast tool for sending HTTP requests' \
--output 'doc/xh.1' \
--no-info \
'cargo run --all-features --'
cargo run --all-features -- generate_completions completions