10 lines
200 B
Bash
Executable File
10 lines
200 B
Bash
Executable File
#!/bin/bash
|
|
source "$(dirname "$0")/../.env"
|
|
|
|
year=$1
|
|
day=$2
|
|
|
|
echo "Getting input for $year day $day"
|
|
|
|
curl -s -S --cookie "$COOKIE" --output ./input.txt https://adventofcode.com/$year/day/$day/input
|