Looking at how to automate writing a STAT table I came across this sample script used to extract a rudimentary stylespace on the fly.
While more precise control over the different formats will certainly be needed for many cases, an option to a) use or b) output a basic stylespace based off a designspace file on the fly would certainly be very useful for many basic cases to output at least some STAT information, or to get started with customizing.
E.g. an a statmake -m … --generate that would use axes and instances from the designspace and use that for compilation of the STAT table, and an optional --output path/to/generated.stylespace to store such a basic stylespace for further manual editing.
Would this be something that could go into this library directly?