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

13 lines (9 loc) 202 B
var spawn = require('./spawn-sync'); var keep = spawn.arg; try { var result = spawn.tmpFunction({ keep: keep }); spawn.out(result.name, spawn.exit); } catch (e) { spawn.err(err, spawn.exit); }