changelord.js/_templates/generator/with-prompt/prompt.ejs.t

15 lines
263 B
Perl
Raw Normal View History

2023-05-10 19:30:51 +00:00
---
to: _templates/<%= name %>/<%= action || 'new' %>/prompt.js
---
// see types of prompts:
// https://github.com/enquirer/enquirer/tree/master/examples
//
module.exports = [
{
type: 'input',
name: 'message',
message: "What's your message?"
}
]