Closed bucsi closed 1 month ago
Thanks for the contribution! I haven't looked at the code yet but upon reading the description I wonder if it's worth putting the example generation behind a flag.
I would probably replace the --use-example
group flag from the run
group with a group flag of --example
at the root so it can be used for both generation via new
and running via run
and run all
.
Thanks a bunch! merged
My puzzle workflow is usually the following:
With
gladvent
, steps 5 and 7 always involve deleting my puzzle input from the input file, then copying it back.With this PR:
new
command creates a{day}.example.txt
file as wellrun
command,--use-example
. If it is present, the runner will pass the example txt as inputIf I missed anything, please reach out and I'll gladly update my PR.