code: function syncCurrentBackendInfo(projectInfo, backendDetails, awsDetails, callback){
      let lambdaFunctions = backendDetails.resources.filter(isCompleteLamdbaFunction)
      if(lambdaFunctions && lambdaFunctions.length > 0){
          let count = 0
          let spinner = new ora('downloading cloud-api lambda function codebases')
          spinner.start()
          lambdaFunctions.forEach(function(lambdaFunction){
              downloadLambdaFunction(projectInfo, awsDetails, lambdaFunction, function(){
                  count ++
                  if(count == lambdaFunctions.length){
                      spinner.stop()
                      if(callback){
                          callback()
                      }
                  }
              })
          })
      }else{ 
          if(callback){
              callback()
          }
      }
  }
docs: ////////////////// sync backend project ////////////////////