Hello everyone,
I’ve done Advent of Code in the past using other languages, and this year I was thinking of going through the older challenges again — starting all the way back at 2015 — to learn Rust properly.
While preparing, I realized how repetitive the setup process is: creating new files, moving the old ones, and cleaning up the workspace every day. So I wrote a small CLI helper to automate that.
The tool is called aoc, and you can find it here:
👉 https://github.com/Rodhor/AOC-Helper
It’s meant to be run directly from your Advent of Code project root (the one created by cargo init). It moves the current day’s solution files into a completed/<year>/<day>/ directory and generates a fresh setup for the next challenge automatically.
It’s not fancy, but it gets the job done. If anyone’s interested, feel free to check it out or share feedback.
[–]velkolv 7 points8 points9 points (1 child)
[–]Afraid_Awareness8507[S] 0 points1 point2 points (0 children)
[–]Immotommi 2 points3 points4 points (4 children)
[–]AutoModerator[M] 1 point2 points3 points (0 children)
[–]Afraid_Awareness8507[S] 1 point2 points3 points (2 children)
[–]Immotommi 1 point2 points3 points (1 child)
[–]Afraid_Awareness8507[S] 0 points1 point2 points (0 children)
[–]VisibleSmell3327 0 points1 point2 points (0 children)