As it currently stands, running cargo aoc -g to generate the file for the new day, without setting the day flag, either:
- panics on "No implementation found" if there are no previous days implemented, as there aren't any days in
target/aoc/completed.json;
- does reach the
if args.generate block if there are previous days implemented, but won't do anything as the files for that day have already been generated, as to be in target/aoc/completed.json, the files need to already have been made;
As it currently stands, running
cargo aoc -gto generate the file for the new day, without setting the day flag, either:target/aoc/completed.json;if args.generateblock if there are previous days implemented, but won't do anything as the files for that day have already been generated, as to be intarget/aoc/completed.json, the files need to already have been made;