Skip to content

Instantly share code, notes, and snippets.

@FireZenk FireZenk/PlopSnippet2.js
Last active Dec 5, 2017

Embed
What would you like to do?
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}}PresenterImpl.java',
templateFile: 'templates/presenterImpl.hbs'
}
});
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.