eeschema: wishlist: Generate XML netlist/BOMs from commandline

More people are using automation to export manufacturing files from KiCad. There is some demand to also be able to export BOMs using the command line so it can be automated in a continuous integration environment [1] [2].I would also like to offer this for people putting up projects on kitspace.org. However for generating the XML netlist required to export BOMs, currently you have to use the graphical interface.

Some people use xdotool to script the use of the graphical interface, as a workaround, but this is fragile and can easily break.