Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
module.exports = function (plop) {
plop.addHelper('lowerCase', (text) => text.toLowerCase());
// add more helpers here
plop.setGenerator('feature', {
description: 'creates a new mvp-based feature',
prompts: [{
type: 'input',
name: 'package',
message: 'Package name?'
type: 'input',
name: 'feature',
message: 'Feature name?'
actions: [{
type: 'add',
path: 'src/{{properCase feature}}',
templateFile: 'templates/presenterImpl.hbs'
// add more generators here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.