New archive function works fine but it could use some cleanup: - [ ] Deduplicate code in the new functions (they share a lot of the same functionality). - [ ] Set up code coverage reporting for the archive tests. - [ ] Add proper clarg parsing (or move the command to a separate repository).
New archive function works fine but it could use some cleanup: