Save web pages as Safari webarchive files from the command line. H/T to [Stephen Millard](https://www.thoughtasylum.com/2024/12/27/web-links-and-archives-for-mac-file-managers/)
I've incorporated this into my linkding archiving script so that a webarchive file is saved alongside the Markdown version of archived bookmarks. Note that if you have SIP enabled, you won't be able to use the downloadable version of the tool, you'll need to download the source and compile with `swiftc` (see the README).