Hello @J_e_t_t
As you are using the command without parameters, then the last exported format is used (in this case it is COLMAP export). You can try to use application reset or you need to use params.xml file in your script as in this post: How to export Registration (the camera) as an Internal/External type via the command line (CLI)