AOC2023: Add helper for downloading puzzle input

This commit is contained in:
Bananymous 2023-12-19 22:22:31 +02:00
parent 4e900804b8
commit 3b21cc90ae
2 changed files with 4 additions and 0 deletions

1
userspace/aoc2023/input/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
day*_input.txt

View File

@ -0,0 +1,3 @@
#!/bin/bash
wget --no-cookies --header "Cookie: session=$AOC_SESSION" https://adventofcode.com/2023/day/$1/input -O day$1_input.txt