adventofcode/_templates/generator/with-prompt/prompt.ejs.t
2022-12-08 10:15:42 -05:00

15 lines
263 B
Perl

---
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?"
}
]