code: async def getItemCmdr(prox, outp=None, locs=None):
      '''Get a Cmdr instance with prepopulated locs'''
      cmdr = await s_cmdr.getItemCmdr(prox, outp=outp)
      cmdr.echoline = True
      if locs:
          cmdr.locs.update(locs)
      return cmdync def getItemCmdr(prox, outp=None, locs=None):
      '''Get a Cmdr instance with prepopulated locs'''
      cmdr = await s_cmdr.getItemCmdr(prox, outp=outp)
      cmdr.echoline = True
      if locs:
          cmdr.locs.update(locs)
      return cmdr
docs: Get a Cmdr instance with prepopulated locs