A command line utility to populate placeholders in a form template and save or print the output.
npm i -g form-cli
$ docker pull tecfu/form-cli
$ docker run -d \
-it \
--name form-cli \
--mount type=bind,source="$(pwd)",target=/home \
form-cli:latest
Placeholders are surrounded by % symbol.
Hi there, %YOUR_NAME%.
$ form-cli -t somefile.txt
Options:
--template, -t File path of template. [required]
--printer, -p Name of printer to print to.
--save, -s Save the file to the path specified. [default: false]