Can I use the Import & export plugin in console?

I have a openfire with LDAP as AD

I have the openfire in one server, and i have to launch a script to update all rosters every day, i tought to make a iMacro, but the server don’t have graphic interface

Are there any way to use the plugin in the console mode? any kind of API or something like that?

Thanks for help