- initialize solution files for day
N
.
npm run init -- --day=<N> --title="Puzzle Title"
-
write solution functions—
part1
andpart2
—indays/<N>/main.js
. -
validate solution on test input.
npm run solve -- --day <N> --test
- solve on real input.
npm run solve -- --day <N>
- day number:
--day
,-d
- don't actually write init files to disk:
--pretend
,-p
- puzzle title:
--title
,-t
- log more (debug):
--verbose
,-v
- day number:
--day
,-d
- solve with test data:
--test
,-t