1.0.3 • Published 5 years ago
form-cli v1.0.3
form-cli
A command line utility to populate placeholders in a form template and save or print the output.
Install:
Local Machine
npm i -g form-cli
Running Via Prebuilt Docker Image
$ docker pull tecfu/form-cli
$ docker run -d \
-it \
--name form-cli \
--mount type=bind,source="$(pwd)",target=/home \
form-cli:latest
Example Template:
Placeholders are surrounded by % symbol.
Hi there, %YOUR_NAME%.
Usage:
$ form-cli -t somefile.txt
Options:
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]