UNPKG

plop

Version:

Micro-generator framework that makes it easy for an entire team to create files with a level of uniformity

16 lines (14 loc) 298 B
#!/usr/bin/env node import { Plop, run } from "../src/plop.js"; import { argv } from "../src/args.js"; Plop.prepare( { cwd: argv.cwd, preload: argv.preload || [], configPath: argv.plopfile, completion: argv.completion, }, function (env) { Plop.execute(env, run); }, );