code: function resolve_general_awsConfig(silentFlag){
      let awsInfoFilePath = pathManager.getGeneralAWSInfoFilePath()
      let awsConfigFilePath = pathManager.getGeneralAWSConfigFilePath()
  
      let awsInfo = awsInfoTemplate
      if(!fs.existsSync(awsInfoFilePath)){
          if(fs.existsSync(awsConfigFilePath)){ //meaning it was generated by older version of the cli
              awsInfo.IsUsingProfile = false
              awsInfo.ProfileName = ""
          }else{ //meaning this usage is started from fresh
              awsInfo.IsUsingProfile = true
              awsInfo.ProfileName = "default"
          }
          awsInfo.AWSInfoFilePath = awsInfoFilePath
          awsInfo.AWSConfigFilePath = awsConfigFilePath
          awsInfo.LastProfileSyncTime = ""
          let jsonString = JSON.stringify(awsInfo, null, '\t')
          fs.writeFileSync(awsInfoFilePath, jsonString, 'utf8')
      }else{
          awsInfo = JSON.parse(fs.readFileSync(awsInfoFilePath, 'utf8'))
      }
  
      let executeSyncProfile = false
      if(fs.existsSync(awsConfigFilePath)){
          executeSyncProfile = isSyncProfileNeeded(awsInfo)
      }else{
          if(awsInfo.IsUsingProfile){
              executeSyncProfile = true
          }else{
              let awsConfig = awsConfigTemplate
              let jsonString = JSON.stringify(awsConfig)
              fs.writeFileSync(awsConfigFilePath, jsonString, 'utf8')
          }
      }
      if(executeSyncProfile){
          syncProfile(awsInfo, silentFlag)
      }
      return awsInfo
  }
docs: ////////////////////////////////////