CLI to help initialise the solution for Advent of Code ๐. Solving it though, it's on you ๐
I maintain a homebrew-tap repo with my CLI's. You can just install it with Brew or check the releases pages and install it that way.
brew install kevinrobayna/homebrew-tap/aoc2md
Before you run the program you need to grab the ๐ช cookie session value from adventofcode.com after you log in.
You should do this every time the Advent of Code season starts since the session will expire.
To generate today's problem just run the following:
aoc2md
But you can specify the day and year like so:
aoc2md --day 1 --year 2015
Remember to make the session available through the env variable AOC_SESSION
or directly in the command like so:
aoc2md --session your_secret_value