cswritetopdf
A CLI tool to attach a Chainscript to a PDF file.
Install
$ npm install -g chainscript
Usage
$ cswritetopdf --help
Usage: cswritetopdf [options] input output [json]
Options:
-h, --help output usage information
-V, --version output the version number
Examples
Attach a script to a PDF file
$ cswritetopdf input.pdf output.pdf '{"body": {"content": "hello world"}}'