Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

jsonnet-cli

a command line jsonnet compiler

readme

Jsonnet-cli

FOSSA Status

a wrapper around node-jsonnet for the cli

Installation

npm i -g jsonnet-cli

Usage

jsonnet --src ./demo1.jsonnet --output ./dist
jsonnet -i ./demo1.jsonnet -o ./ --yaml 

All arguments argument are optional

-i, --input     input file or dir to search for files, default is ./
-o, --output    output file or dir, deafult is ./
-y, --yaml      output as yaml instead of json
-h, --heml      display usage instructions

License

FOSSA Status