So I've read about the processing scripts you can do in QGIS 3. However, there seems to be no way of just modifying a layer directly and instead I have to have an output layer, which I do not want.
If you check at https://github.com/qgis/QGIS-Enhancement-Proposals/issues/134, they say that
it's best to have at least one out always defined to avoid fully black box algorithms if none is set. If a output isn't defined it will raise an exception.
The problem I have with that is because the module I am working on right now only adds fields and changes values in the attribute table. The output layer I would create would need to be deleted right after because there would be nothing in it.
All I want is the Input layer and make my changes within that layer, the output is a hindrance. If there is indeed no way to not have an output I would like to know if there's a way for the output to be just a log for example or something like that that way at least it could be of some use.