Advent of Code

My solutions for advent of code

Create structure for a solution

  • deno run -A .\aoc.ts create -y [YEAR] -d [DAY]
  • YEAR: The year to create, defaults to current year
  • DAY: The day to create, defaults to current day

Run solution

  • deno run -A .\aoc.ts x -y [YEAR] -d [DAY] -t [TYPE] -w [WATCH]
  • YEAR: The year to run, defaults to current year
  • DAY: The day to run, defaults to current day
  • TYPE: The type of input to use, defaults to target
  • WATCH: If present, will watch for changes in the solution file