From 8be18b6b384caee8f0d30e436790d80b610a1da9 Mon Sep 17 00:00:00 2001 From: Kharec Date: Wed, 3 Dec 2025 15:16:25 +0100 Subject: [PATCH] refactor: better explain scaffolding --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index fd216a7..bd73d93 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,9 @@ When running a solution, the CLI (`cmd/aoc/main.go`) looks up the appropriate ru make 2020D1 ``` -This will create the following files: +If the `ADVENTOFCODE_SESSION` environment variable is set with your Advent of Code session cookie, the input will be downloaded from the AOC website right into the corresponding `internal/data` directory, else it will create an empty `input.txt` file. + +Then, it will create the following files: ```bash internal/2020/DayOne/code.go @@ -60,8 +62,6 @@ internal/2020/DayOne/code_test.go internal/data/2020/DayOne/input.txt ``` -If the `ADVENTOFCODE_SESSION` environment variable is set with your Advent of Code session cookie, the input will be downloaded from the AOC website right into the corresponding `internal/data` directory, else it will create an empty `input.txt` file. - ### Handling string answers Occasionally, a puzzle requires a string as the answer. However, my solution framework expects PartOne/PartTwo functions to return integers.