Retrieving/passing command-line options from a plugin
I'm writing a command-line plugin to perform a custom export of some metadata.
Is there a way to access from the plugin the command line options, whether passed by string (e.g. "C:\Program Files\MuseScore 3\bin\MuseScore3.exe" -p mcveCmdLine.qml -o "xyz "path\to\some\file.mscz") or by Json file ?
Actually I'd like to pass to the plugin a filename where to do that export or a config file telling where to do it.
I could either retrieve the "-o" command or retrieve the "out:" param from the json.
Or use a specific tag.
Anyone with experience with this ?