mirror of
https://github.com/ducaale/xh.git
synced 2025-05-14 19:54:32 +00:00
16 lines
383 B
Bash
Executable File
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
|