code: async def runItemCmdr(item, outp=None, **opts):
      '''
      Create a cmdr for the given item and run the cmd loop.
  
      Example:
  
          runItemCmdr(foo)
  
      '''
      cmdr = await getItemCmdr(item, outp=outp, **opts)
      await cmdr.runCmdLoop(ync def runItemCmdr(item, outp=None, **opts):
      '''
      Create a cmdr for the given item and run the cmd loop.
  
      Example:
  
          runItemCmdr(foo)
  
      '''
      cmdr = await getItemCmdr(item, outp=outp, **opts)
      await cmdr.runCmdLoop()
docs: Create a cmdr for the given item and run the cmd loop.
  
      Example:
  
          runItemCmdr(foo)