docs: def _parse_list(cls, args):
          """
          Parse command line arguments to construct a dictionary of cluster
          parameters that can be used to determine which clusters to list.
  
          Args:
              `args`: sequence of arguments
  
          Returns:
              Dictionary that can be used to determine which clusters to list
          """
          argparser = ArgumentParser(prog="cluster list")
  
          group = argparser.add_mutually_exclusive_group()
  
          group.add_argument("--id", dest="cluster_id",
                             help="show cluster with this id")
  
          group.add_argument("--label", dest="label",
                             help="show cluster with this label")
  
          group.add_argument("--state", dest="state", action="store",
                             choices=['up', 'down', 'pending', 'terminating'],
                             help="list only clusters in the given state")
          pagination_group = group.add_argument_group()
          pagination_group.add_argument("--page", dest="page", action="store", type=int,
                             help="page number")
          pagination_group.add_argument("--per-page", dest="per_page", action="store", type=int,
                             help="number of clusters to be retrieved per page")
  
          arguments = argparser.parse_args(args)
          return vars(arguments)