If there's one lesson I've learned from working on this demon-haunted codebase, it's *don't* modernize your tooling unless you're actually prepared to commit to hunting down and completely decommissioning whatever you're replacing.
Also, really genuinely consider whether you need a tool to generate a config file from your codebase, or whether maaaaaybe it will actually be easier in the longrun to just maintain a config file.