yq/scripts/generate-man-page.sh
2023-09-19 10:43:11 +10:00

11 lines
245 B
Bash
Executable File

#! /bin/bash
set -e
# note that this requires pandoc to be installed.
pandoc \
--variable=title:"YQ" \
--variable=section:"1" \
--variable=author:"Mike Farah" \
--variable=header:"${MAN_HEADER}" \
--standalone --to man man.md -o yq.1