PerthuisQuentin / advent-of-code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Advent of code

Codes

Codes for the previous Advent of code editions

How to use

Install

git clone https://github.com/PerthuisQuentin/battle-dev.git
npm install

Run tests

npm test

Options

--year <string>
	Use a string as filter on years

--day <string>
	Use a string as filter on days

--part <string>
	Use a string as filter on parts

--test <string>
	Use a string as filter on tests

Example

npm test -- --year 2019 --day 05 --part 2 --test 01

Init day files

npm run initDay

Options

--year <string>
	year number (2015, 2016, etc...)

--day <string>
	day number (1, 2, 3, etc...)

Example

npm run initDay -- --year 2019 --day 5

Update day list

npm run updateDaysList

Options

--year <string>
	year number (2015, 2016, etc...)

Example

npm run updateDaysList -- --year 2019

About

License:MIT License


Languages

Language:JavaScript 100.0%