Utility to download Advent of Code puzzle inputs.
cargo install aochelper
Run
aochelper set year <year>
in the directory in which you'll be working to set the puzzle year.
The authentication is automatic if you log into Advent of Code with Snap-installed Firefox on Linux. Otherwise, get your Advent of Code session cookie from your browser of choice, and run
aochelper set session_key <your key here>
To download a puzzle for a given day:
aochelper get <day>
This will download the puzzle inputs to inputs/year.day.
Works on my machine!