yq/scripts/generate-man-page.sh
2021-10-20 15:01:08 +11:00

11 lines
244 B
Bash
Executable File

#! /bin/bash
set -e
# note that this reqires 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