aochelper

Crates.ioaochelper
lib.rsaochelper
version0.3.1
sourcesrc
created_at2024-01-14 17:48:47.502435
updated_at2024-01-16 00:33:57.199805
descriptionHelper utility to download Advent of Code puzzle inputs.
homepage
repositoryhttps://github.com/blairfrandeen/aochelper
max_upload_size
id1099593
size52,584
Blair Frandeen (blairfrandeen)

documentation

README

aochelper

Utility to download Advent of Code puzzle inputs.

Installation

cargo install aochelper

Setup

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>

Usage

To download a puzzle for a given day:

aochelper get <day>

This will download the puzzle inputs to inputs/year.day.

Troubleshooting

Works on my machine!

Commit count: 0

cargo fmt