changelord.js/_templates/command/new/command.ejs.t

18 lines
228 B
Perl
Raw Normal View History

2023-05-10 19:30:51 +00:00
---
to: src/command/<%= name %>.js
---
const handler = async (config) => {
// DO SOMETHING
};
export default {
command: '<%= name %>',
desc : 'TODO',
builder: (yargs) => {
yargs
},
handler,
}