From 69084d9265bff3318adefa84380a6d4747d013de Mon Sep 17 00:00:00 2001 From: Tibor Bizjak Date: Mon, 13 Mar 2023 23:55:38 +0100 Subject: [PATCH] Added README.md --- README.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..584966e --- /dev/null +++ b/README.md @@ -0,0 +1,30 @@ +# Advent of Code 2019 +Solutions to [Advent of Code 2019](https://adventofcode.com/2019) in Python 3. + +## Usage +To solve all puzzles with implemented solution run +```console +foo@bar:~$ python3 main.py +``` +or alternatively make the main program executable +```console +foo@bar:~$ chmod +x main.py +foo@bar:~$ ./main.py +foo +``` +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 +```