codeBelt / generate-template-files

A simple generator to create custom template files for any application
https://medium.com/@robertsavian/generate-template-files-with-ease-19b320615359
MIT License
209 stars 31 forks source link

Add IReplacerSlotQuestion #36

Closed codeBelt closed 4 years ago

codeBelt commented 4 years ago

To support this request https://github.com/codeBelt/generate-template-files/issues/35 I made it so you can have a string or object for a string replacer:

stringReplacers: ['__name__', { question: 'Insert model name', value: '__model__' }],

The first question will be:

 Replace __name__ with >

The second question will be:

Insert model name >

asdf

@ccheney @JimSchofield Please give me feedback