code: function onSyncComplete(projectInfo, awsDetails, backendProject, enabledFeatures, syncToDevFlag, callback){
      updateAWSExportFile(projectInfo, awsDetails, ()=>{
          console.log('contents in #current-backend-info/ is synchronized with the latest in the aws cloud')
          updateBackendSyncTime(projectInfo)
          if(!syncToDevFlag){
              syncToDevFlag = 0
          }
          if(syncToDevFlag > 0){
              syncAllToDev(projectInfo, backendProject, enabledFeatures)
              if(callback){
                  callback()
              }
          }else if(syncToDevFlag == 0){
              let message = 'sync corresponding contents in backend/ with #current-backend-info/'
              inquirer.prompt([
              {
                  type: 'confirm',
                  name: 'syncToDevBackend',
                  message: message,
                  default: false
              }
              ]).then(function (answers) {
                  if(answers.syncToDevBackend){
                      syncAllToDev(projectInfo, backendProject, enabledFeatures, true)
                  }
                  if(callback){
                      callback()
                  }
              })
          }else{
              if(callback){
                  callback()
              }
          }
      })
  }
docs: syncToDevFlag <0: no sync to backend 0: prompt for confirmation 1: sync mobile hub project spec (yaml) >1: sync project spec and feature contents