Hi
There is no way to do this from the command line.
I've made a quick extension for you that will generate an XML report for you automatically when you load a project (and when the extension is loaded) - that should make your process a bit quicker.
Please replace the variable
pathString
with the appropriate filepath for your system - I used the datetime module as part of the filename so that you will have unique reports for each project, but you could change this to do something different!
You can find the extension
hereYou could also try modifying it to use IBurpExtenderCallbacks.getCommandLineArguments() instead of running automatically on load.