aoc2022

These are my solutions to the Advent of Code 2022 using Crystal.

Usage

Run all solutions:

crystal src/main.cr

Run a given day:

crystal src/main.cr <DAY_NUMBER>

Scaffold files for a given day

It will create the implementation class, its spec, and an empty input file.

crystal tools/day_gen.cr <DAY_NUMBER>