This is a project template for the Advent of Code that attempts to automate a few things.
A recent JDK and Scala CLI. I personally like using SDKMAN.
Open https://adventofcode.com in your browser, copy the value of the session cookie
token from the headers of any request (just the value after session=...).
Export AOC_AUTH_TOKEN in your environment.
Fetch a day's input, for instance this year's first day:
$ scala-cli run . -- fetch 2024 1This should initialize a template for your solution in src/aoc2024.
$ scala-cli run . -- run 2024 1
See Day01.scala for reference.