[MagicDraw] Validation from command line

Hi,

In the scope of designing a CI/CD environment including MagicDraw models, I'm looking at executing validation rules on a project in some command line / script (within com.nomagic.magicdraw.commandline.ProjectCommandLine for example). 

I tried to browse com.nomagic.magicdraw.validation but could not guess how to execute a given validation profile on loaded project and collect the results for further processing.

Any tip / sample code would be greatly appreciated.

With best regards

Hervé