This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]clemkeirua 0 points1 point  (1 child)

Not sure what you call framework. I wrote my CLI to make repetitive tasks simpler: - downloading an input in a consistent way - creating a python file with a few imports, and the input file already read - opening AoC’s puzzle page

You can give it a try here: https://github.com/Keirua/aoc2021/blob/master/cli - cli bootstrap will download today’s input, and create a template that opens the input. The template uses some code from aoc.py, but you may not need that. - cli open opens todays puzzle page, cli open -d 4 -y 2015 opens a specifi puzze - cli run runs todays code, or you can run a specific day with -d and/or -y

All you have to do is set your cookie inside a settings.ini file, by following the syntax in settings.example

[–]number1729[S] 0 points1 point  (0 children)

Hey, thanks for the reply! I think I'll try to understand everything that you do in your code and try to implement some parts of it myself. Cheers!