adventofcode/2023/preset/day/preset.ts

15 lines
276 B
TypeScript
Raw Normal View History

2023-12-01 18:38:44 +00:00
export default definePreset({
name: 'day',
options: {
perl: true,
},
handler: async(context) => {
if( context.options.perl ) {
await extractTemplates({
from: 'perl', whenConflict: 'skip'
})
}
// ...
},
})