code: def bookmark_list():
      
      client = get_client()
  
      bookmark_iterator = client.bookmark_list()
  
      def get_ep_name(item):
          ep_id = item["endpoint_id"]
          try:
              ep_doc = client.get_endpoint(ep_id)
              return display_name_or_cname(ep_doc)
          except TransferAPIError as err:
              if err.code == "EndpointDeleted":
                  return "[DELETED ENDPOINT]"
              else:
                  raise err
  
      formatted_print(
          bookmark_iterator,
          fields=[
              ("Name", "name"),
              ("Bookmark ID", "id"),
              ("Endpoint ID", "endpoint_id"),
              ("Endpoint Name", get_ep_name),
              ("Path", "path"),
          ],
          response_key="DATA",
          json_converter=iterable_response_to_dict,
      )
docs: Executor for `globus bookmark list`