aoc2md

command module
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 3, 2025 License: MIT Imports: 9 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL