Skip to content

jbuget/aoc-2021

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aoc-2021

https://adventofcode.com/2021

Installation

$ git clone git@github.com:jbuget/aoc-2021.git
$ cd aoc-2021
$ npm install

Usage

# Initialize a day
$ plop day <day:number>

# Run tests
$ npm start

# Get a day part result
$ npm start -- <day:number> <part:string>

Examples:

# ex: for part "one"
$ npm start -- 2 one

# ex: for part "two"
$ npm start -- 10 two