Create and compile templates from the command line.
npm install pixie-cli> Create and compile templates from the command line.
``shRendering:
echo "Foo {{bar}} baz" | pixie --bar='BLAG'Foo BLAG baz
pixie, to easily create and compile templates from command line. You can also use a .pixierc file, or any other methods the rc module supportsInstallation
`sh
$ npm install --global pixie-cli
`API
$3
Render the STDIN against the supplied data. Running pixie aliases to this.`sh
echo "Foo {{bar}} baz" | pixie --bar='12345'
Foo 12345 baz
`$3
Parse the STDIN into a Pixie template.`sh
echo "Foo {{bar}} baz" | pixie parse
[["Foo "," baz\n"],["bar"]]
`$3
Compile the STDIN as a template, against data supplied through options or config.`sh
cat template.json | pixie compile --bar='12345'
Foo 12345 baz
``MIT © Jamen Marz