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