I’m not very familiar with CMake, but I want to create a tool to download KNewStuff from the CLI.
I found that frameworkintegration includes a kpackage-knshandler in kpackage-install-handlers ( https://github.com/KDE/frameworkintegration/blob/master/src/kpackage-install-handlers/kns/main.cpp ).
How do I call this code, and is it even worth it (if so, is there any code that uses it that could serve as an example?), or should I just use the KNewStuffCore package instead?
For anyone that will be looking for this i found out that knshandler is compiled into /usr/libexec/kf6/kpackagehandlers/ so you just need to add it to the PATH to use it