text: const sync = require("./sync/index.js")
  console.time("migrationConsuming")
  let sync_type = process.env['SYNC_TYPE'],promise
  if(sync_type === 'mysql'){
      promise = sync.syncFromMysql()
  }else if(sync_type === 'nextcloud'){
      promise = sync.sync2NextCloud()
  }else if(sync_type === 'acl'){
      promise = sync.syncAcl()
  }
  promise.then((result)=>{
      console.timeEnd("migrationConsuming")
      console.log(JSON.stringify(result,null,'\t'))
      process.exit()
  })
  
  
  