To run a script, run bun run index.ts
. These flags are available:
-y
- specify a year, e.g. 2023.-d
- exercise day, by default takes today. 1-25.-p
- part of the exercise, can be 1 or 2. default is 1
Using deno for year of 2022. To run any of the scripts:
deno run --allow-read day/x/script.ts