1.0.2 • Published 8 years ago

ploper v1.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

Ploper

Perform plop more freely

Installation

> npm i ploper

Usage

var ploper = require('ploper');

// load plopfile and specify custom output target
var plop = ploper.plop(__dirname + '/generator/plopfile', __dirname + '/temp');

plop.prompt('[EXAMPLE] Select an action to perform').then(plop.run).then(plop.report).catch(function (err) {
  console.error('[ERROR]'.red, err.message, err.stack);
  process.exit(1);
});

License

MIT © Yuan Tao