This was a one-off script, but if this becomes something more used/usable we probably need to pour a bit of testing into it. * [ ] create a tests directory. * [ ] create tests for the main functions. * [ ] optimize the functions if not testable as-is.
This was a one-off script, but if this becomes something more used/usable we probably need to pour a bit of testing into it.