That's exactly what I want and I would have requested it long time ago if I knew that using --debug-assign is not recommended. To be specific, I would like to get those variables (and also new ones if there will be introduced later):
TP2_AUTHOR
TP2_FILE_NAME
TP2_BASE_NAME
MOD_FOLDER
MOD_VERSION
WEIDU_ARCH
WEIDU_OS
WEIDU_VER
I have requested including mods README line before, can you take look at it and see if it can be included?
Now, when see how you call the commandline switch (--mod-info), I could image that it serves much general purpose.
- all above variables
- all available languages
- all components associated to language (foreach lang -> list-components-json)
but this would require some more work, not sure if you currently have time for it now.