Digital forensics is so well provided for on Windows that free and open source tools alone are sufficient for analyzing most artifacts. Yet in the case of macOS-which, like Windows, is widely used as a desktop OS-relatively few commercial products, not to mention free and open source tools, are available.
This probably reflects the relative OS market shares and needs within the digital forensics market. But the last few years have seen the release of open source forensic analysis tools for macOS that implement just enough features to be practically useful. In my case, I have been following a tool called mac_apt closely. This has been a somewhat lengthy preamble, but I will now go over the basics of creating plugins for the mac_apt forensic analysis framework for macOS.