How to automate process model export/import

Hi,

Is there a way to automate the export and import of business process models ?
There’s no mention of a command line (like tnexport - tnimport for TN) or a Java API that could be used.

Thanks for your help