adventofcode/2023/preset/day/preset.ts

15 lines
276 B
TypeScript

export default definePreset({
name: 'day',
options: {
perl: true,
},
handler: async(context) => {
if( context.options.perl ) {
await extractTemplates({
from: 'perl', whenConflict: 'skip'
})
}
// ...
},
})