yq/scripts/generate-man-page.sh

11 lines
244 B
Bash
Raw Normal View History

2021-10-14 22:51:42 +00:00
#! /bin/bash
set -e
# note that this reqires pandoc to be installed.
2021-10-14 23:39:33 +00:00
pandoc \
--variable=title:"YQ" \
--variable=section:"1" \
--variable=author:"Mike Farah" \
2021-10-20 04:01:08 +00:00
--variable=header:"${MAN_HEADER}" \
--standalone --to man man.md -o yq.1