form-cli

1.0.3 • Public • Published

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]

Readme

Keywords

Package Sidebar

Install

npm i form-cli

Weekly Downloads

0

Version

1.0.3

License

GPL-2.0

Unpacked Size

25.5 kB

Total Files

6

Last publish

Collaborators

  • tecfu