Man page wip

This commit is contained in:
Mike Farah
2021-10-15 10:39:33 +11:00
parent 948399f163
commit e741e6d52f
2 changed files with 22 additions and 4 deletions

View File

@@ -18,4 +18,11 @@ for f in ./pkg/yqlib/doc/*.md; do
done
pandoc --variable=title:"yq" --variable=section:"1" --variable=author:"Mike Farah" --standalone --to man man.md -o yq.1
header=$(./yq --version)
pandoc \
--variable=title:"YQ" \
--variable=section:"1" \
--variable=author:"Mike Farah" \
--variable=header:"${header}" \
--standalone --to man man.md -o yq.1