Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.06 KB

README.md

File metadata and controls

31 lines (22 loc) · 1.06 KB

C++ Python Code style: black

My solutions to Advent of Code

Scaffolding

This repo also contains some functionality to scaffold the files needed to solve the problems. Use like so,

$ ./scaffold.py <DayOfMonth>

# As per the documentation
$ ./scaffold.py -h
usage: scaffold.py [-h] DayOfMonth

Scaffold a new day from template

positional arguments:
  DayOfMonth

optional arguments:
  -h, --help  show this help message and exit

# For instance, for Dec. 10th
# $ ./scaffold.py 10 

This will create a new directory in the git root directory, name it day<DayOfMonth>, copy the contents of the template directory and rename the .py file accordingly. If it already exists, an exception will be raised and nothing will be done.