CLI manual sync only, non-daemon mode

Is there a way to explicitly tell the seafile cli client to sync all libraries, and then exit?

I’m trying to use it to sync some data on a server, it only makes sense to sync this once the program using this data is not running, currently we have a cron file set up that will close the program, rsync to the seafile library and then start it. This is a suboptimal solution as it requires us to keep a duplicate of the data, and the sync client open all the time, as it’s not clear when the sync is done.