Language: C / C++. The pull request has one bug. You get three tries to find the line, then a short debrief.
Adding an export format meant editing a growing if chain in registry.cpp. Now every format registers itself from its own file, before main() starts, and make() looks the name up in a map. CSV and Excel move to the new scheme in this PR; PDF will follow.
Codetrap needs JavaScript: the code review happens in your browser.