nodes: 0, module; 1, function_definition; 2, function_name:dataset_list_cli; 3, parameters; 4, block; 5, identifier:self; 6, default_parameter; 7, default_parameter; 8, default_parameter; 9, default_parameter; 10, default_parameter; 11, default_parameter; 12, default_parameter; 13, default_parameter; 14, default_parameter; 15, default_parameter; 16, expression_statement; 17, expression_statement; 18, expression_statement; 19, if_statement; 20, identifier:sort_by; 21, None; 22, identifier:size; 23, None; 24, identifier:file_type; 25, None; 26, identifier:license_name; 27, None; 28, identifier:tag_ids; 29, None; 30, identifier:search; 31, None; 32, identifier:user; 33, None; 34, identifier:mine; 35, False; 36, identifier:page; 37, integer:1; 38, identifier:csv_display; 39, False; 40, comment:""" a wrapper to datasets_list for the client. Additional parameters
              are described here, see dataset_list for others.
  
              Parameters
              ==========
              sort_by: how to sort the result, see valid_sort_bys for options
              size: the size of the dataset, see valid_sizes for string options
              file_type: the format, see valid_file_types for string options
              license_name: string descriptor for license, see valid_license_names
              tag_ids: tag identifiers to filter the search
              search: a search term to use (default is empty string)
              user: username to filter the search to
              mine: boolean if True, group is changed to "my" to return personal
              page: the page to return (default is 1)
              csv_display: if True, print comma separated values instead of table
          """; 41, assignment; 42, assignment; 43, identifier:datasets; 44, block; 45, else_clause; 46, identifier:datasets; 47, call; 48, identifier:fields; 49, list; 50, if_statement; 51, block; 52, attribute; 53, argument_list; 54, string; 55, string; 56, string; 57, string; 58, string; 59, identifier:csv_display; 60, block; 61, else_clause; 62, expression_statement; 63, identifier:self; 64, identifier:dataset_list; 65, identifier:sort_by; 66, identifier:size; 67, identifier:file_type; 68, identifier:license_name; 69, identifier:tag_ids; 70, identifier:search; 71, identifier:user; 72, identifier:mine; 73, identifier:page; 74, string_content:ref; 75, string_content:title; 76, string_content:size; 77, string_content:lastUpdated; 78, string_content:downloadCount; 79, expression_statement; 80, block; 81, call; 82, call; 83, expression_statement; 84, identifier:print; 85, argument_list; 86, attribute; 87, argument_list; 88, call; 89, string; 90, identifier:self; 91, identifier:print_csv; 92, identifier:datasets; 93, identifier:fields; 94, attribute; 95, argument_list; 96, string_content:No datasets found; 97, identifier:self; 98, identifier:print_table; 99, identifier:datasets; 100, identifier:fields
code: def dataset_list_cli(self,
                           sort_by=None,
                           size=None,
                           file_type=None,
                           license_name=None,
                           tag_ids=None,
                           search=None,
                           user=None,
                           mine=False,
                           page=1,
                           csv_display=False):
          """ a wrapper to datasets_list for the client. Additional parameters
              are described here, see dataset_list for others.
  
              Parameters
              ==========
              sort_by: how to sort the result, see valid_sort_bys for options
              size: the size of the dataset, see valid_sizes for string options
              file_type: the format, see valid_file_types for string options
              license_name: string descriptor for license, see valid_license_names
              tag_ids: tag identifiers to filter the search
              search: a search term to use (default is empty string)
              user: username to filter the search to
              mine: boolean if True, group is changed to "my" to return personal
              page: the page to return (default is 1)
              csv_display: if True, print comma separated values instead of table
          """
          datasets = self.dataset_list(sort_by, size, file_type, license_name,
                                       tag_ids, search, user, mine, page)
          fields = ['ref', 'title', 'size', 'lastUpdated', 'downloadCount']
          if datasets:
              if csv_display:
                  self.print_csv(datasets, fields)
              else:
                  self.print_table(datasets, fields)
          else:
              print('No datasets found')