code: async def getTempCoreCmdr(mods=None, outp=None):
      '''
      Get a CmdrCore instance which is backed by a temporary Cortex.
  
      Args:
          mods (list): A list of additional CoreModules to load in the Cortex.
          outp: A output helper.  Will be used for the Cmdr instance.
  
      Notes:
          The CmdrCore returned by this should be fini()'d to tear down the temporary Cortex.
  
      Returns:
          CmdrCore: A CmdrCore instance.
      '''
      acm = genTempCoreProxy(mods)
      prox = await acm.__aenter__()
      cmdrcore = await CmdrCore.anit(prox, outp=outp)
      cmdrcore.acm = acm
      return cmdrcorync def getTempCoreCmdr(mods=None, outp=None):
      '''
      Get a CmdrCore instance which is backed by a temporary Cortex.
  
      Args:
          mods (list): A list of additional CoreModules to load in the Cortex.
          outp: A output helper.  Will be used for the Cmdr instance.
  
      Notes:
          The CmdrCore returned by this should be fini()'d to tear down the temporary Cortex.
  
      Returns:
          CmdrCore: A CmdrCore instance.
      '''
      acm = genTempCoreProxy(mods)
      prox = await acm.__aenter__()
      cmdrcore = await CmdrCore.anit(prox, outp=outp)
      cmdrcore.acm = acm
      return cmdrcore
docs: Get a CmdrCore instance which is backed by a temporary Cortex.
  
      Args:
          mods (list): A list of additional CoreModules to load in the Cortex.
          outp: A output helper.  Will be used for the Cmdr instance.
  
      Notes:
          The CmdrCore returned by this should be fini()'d to tear down the temporary Cortex.
  
      Returns:
          CmdrCore: A CmdrCore instance.