Finally, retroarch --features
gives you grepable output.
As usual, binaries only; you may download/update your assets, shaders, info files, etc from the UI if necessary, so there's no need to include these huge collections of files that change very little between RetroArch versions.