E3D - Create a Collection from command line

Hello

Is there a way to create a collection of pipelines from command line or using a macro ? the pipelines would be listed in a separate  list.txt file, the name of the collection should be defined in the macro.

I tried to adapt some macros found here but with no success; nothing appears in My Collections. 

Thank you.