node-serialport-bindings-cpp/plopfile.js
Francis Gulotta 1523233326 chore: merge serialport-utils into main repo
- integrate the generators
- integrate the docs
- move files into the right location
- update readmes
- lint fix
2018-07-24 03:06:08 -04:00

19 lines
361 B
JavaScript

module.exports = function(plop) {
plop.setGenerator('package', {
description: 'Make a new parser',
// inquirer prompts
prompts: [{
type: 'input',
name: 'name',
message: 'Project name: '
}],
// actions to perform
actions: [{
type: 'addMany',
destination: 'packages/{{dashCase name}}/',
templateFiles: '.generators/*',
}]
})
}