- Check out code
pipenv installpipenv shell- Run:
./main.py 2022 2for day 2 of 2022./main.pyfor all days on the default year
- Check out code
pipenv install -dpipenv shellpre-commit install- Run tests:
python -m unittest discover -s 2024
- Install advent-of-code-data (included in
pipenv install -d) - export Session token from Browser:
export AOC_SESSION=cafef00db01dfaceba5eba11deadbeef aocd 2 2022 > data/2022/day13.txt