Files
advent-of-code-go/README.md
T
2020-11-27 02:53:18 -05:00

649 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 are meant to be run using go test -run DayX . from 2020 folder