code: def cli(env):
      
      manager = PlacementManager(env.client)
      result = manager.list()
      table = formatting.Table(
          ["Id", "Name", "Backend Router", "Rule", "Guests", "Created"],
          title="Placement Groups"
      )
      for group in result:
          table.add_row([
              group['id'],
              group['name'],
              group['backendRouter']['hostname'],
              group['rule']['name'],
              group['guestCount'],
              group['createDate']
          ])
  
      env.fout(table)
docs: List placement groups.