Go to file
Mikaël Capelle 1289aed19c
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
Start fixing 2015 for new API.
2024-12-08 11:57:35 +01:00
src/holt59/aoc Start fixing 2015 for new API. 2024-12-08 11:57:35 +01:00
typings/docplex Fix linting. 2024-12-03 14:11:29 +01:00
.drone.yml Add .drone.yml for CI. (#2) 2024-12-03 13:38:03 +00:00
.gitignore Fix linting. 2024-12-03 14:11:29 +01:00
poetry.lock Refactor 2023 for new system. 2024-12-06 14:11:35 +01:00
pyproject.toml Refactor 2023 for new system. 2024-12-06 14:11:35 +01:00
README.md Poetry stuff. 2023-12-19 17:45:33 +01:00
setup.cfg Day 2. 2022-12-02 09:12:49 +01:00

Holt59 - Advent Of Code

Installation (with poetry):

poetry install

To run any day:

holt59-aoc $day

You can use -v / --verbose for extra outputs in some case, -t / --test to run the code on the test data (one of the test data if multiple are present) or even -u XXX / --user XXX to run the code on a specific input after putting the input file under src/holt59/aoc/inputs/XXX/$year/$day.

Full usage:

usage: Holt59 Advent-Of-Code Runner [-h] [-v] [-t] [-u USER] [-i INPUT] [-y YEAR] day

positional arguments:
  day                   day to run

options:
  -h, --help            show this help message and exit
  -v, --verbose         verbose mode
  -t, --test            test mode
  -u USER, --user USER  user input to use
  -i INPUT, --input INPUT
                        input to use (override user and test)
  -y YEAR, --year YEAR  year to run