aoc-cli
Command line interface for Advent of Code
Installing
Building from source
Make sure go is installed for building aoc-cli
git clone https://github.com/r4t1n/aoc-cli; cd aoc-cli; make; sudo make install
Session cookie
Everyone gets a different puzzle input, to download your input you need to provide your session cookie.
To obtain your session cookie, login to the Advent of Code website and inspect the session
cookie to get it's value - see instructions.
The session cookie (a long hex string) must be provided in a file called .adventofcode.session
inside your home directory.
For example:
/home/ratin/.adventofcode.session
Usage
Usage of aoc:
-day uint
The day used for the date
-year uint
The year used for the date