Skip to content

roblaine/aoc_generator_ex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AocGenerator

Generates the directory structure, boilerplate module code, and retrieves your puzzle input for a given day.

Installation

This package depends on curl.

The package can be installed by adding aoc_generator to your list of dependencies in mix.exs:

def deps do
  [
    {:aoc_generator, git: "https://github.com/roblaine/aoc_generator_ex.git"}
  ]
end

Usage

  1. Sign in to https://adventofcode.com
  2. view your session cookie in dev tools
  3. Export the Value of your cookie in your env under the key AOC_SESSION_COOKIE in your terminal
export AOC_SESSION_COOKIE='your_session_cookie_here'
  1. Run the generator via mix in your project
mix day 1

The param passsed to the command must be in the range [1,25].

About

Elixir code generator for Advent of Code challenge

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages