UNPKG

charlike

Version:

Small, fast, simple and streaming project scaffolder for myself, but not only. Supports hundreds of template engines through the @JSTransformers API or if you want custom `render` function passed through options

17 lines (13 loc) 257 B
#!/usr/bin/env node 'use strict'; // // Change the default parent PID if running // under Windows. // var ppid = 1; if (process.platform === 'win32') { ppid = 0; } require('../')(process.argv[2] || ppid, function (err, data) { console.log(data); });