advent-of-code-2019/README.md

30 lines
833 B
Markdown
Raw Normal View History

2023-03-13 23:55:38 +01:00
# Advent of Code 2019
Solutions to [Advent of Code 2019](https://adventofcode.com/2019) in Python 3.
## Usage
2023-03-14 00:00:43 +01:00
To solve all puzzles with implemented solutions run
2023-03-13 23:55:38 +01:00
```console
foo@bar:~$ python3 main.py
```
or alternatively make the main program executable
```console
foo@bar:~$ chmod +x main.py
foo@bar:~$ ./main.py
```
For other options see `./main.py -h`
```console
foo@bar:~$ ./main.py -h
usage: main.py [-h] [-d DAY[-DAY]] [-i INPUT] [-t]
Solves Advent of Code 2019 puzzles. The puzzles are available at
https://adventofcode.com/2019/
optional arguments:
-h, --help show this help message and exit
-d DAY[-DAY], --day DAY[-DAY]
solve puzzle of day DAY or of range DAY-DAY
-i INPUT, --input INPUT
use INPUT as puzzle input
-t, --test run tests
```