adventofcode/_templates/generator/with-prompt/prompt.ejs.t

15 lines
263 B
Perl
Raw Normal View History

2022-12-08 15:15:42 +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?"
}
]