Files
advent-of-code-go/README.md
T

664 B

Scripts

Addition for 2020 event.

path usage
scripts/fetchers/cmd-inputs go run scripts/fetches/cmd-inputs/inputs.go
-cookie flag for session cookie from AOC website (required to be set via flag OR on ENV)
-day flag defaults to today
-year flag defaults to current year
scripts/fetchers/cmd-prompts go run scripts/fetches/cmd-prompts/prompts.go
same flags as inputs script
scripts/template/template.go go run scripts/template/template.go
same -day and -year flags, quickly templates up files for the given day's solutions.
Note that functions can be run using go test -run PartX . or via go run main.go -part <1 or 2>