Palats / mapshot

Factorio mod to export maps as zoomable html
Apache License 2.0
77 stars 12 forks source link

Garbage collection of old exported maps #7

Open Palats opened 3 years ago

Palats commented 3 years ago

Each mapshot is fairly large, so keep the number under control would make sense. We can imagine keeping (for example) just the last one for a given map (based on generation parameter).

Garbage collection cannot be done from the Factorio mod, as it is impossible to delete file. So, a subcommand of the CLI should do the trick.