Skip to content

CLI to help initialise the solution for Advent of Code πŸŽ„. Solving it though, it's on you πŸ˜‰

License

Notifications You must be signed in to change notification settings

kevinrobayna/aoc2md

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

28 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

aoc2md

CLI to help initialise the solution for Advent of Code πŸŽ„. Solving it though, it's on you πŸ˜‰

Install

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

Session Value

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.

Usage

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

You can now generate a template for your solution by specifying the language you want to use

aoc2md --lang ruby

About

CLI to help initialise the solution for Advent of Code πŸŽ„. Solving it though, it's on you πŸ˜‰

Topics

Resources

License

Stars

Watchers

Forks