Skip to content

Running Cargo aoc -g doesn't generate new file #102

@R0mbertus

Description

@R0mbertus

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;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions