code: def read_dataset(ctx, dataset, output):
      
  
      stdout = click.open_file(output, 'w')
      service = ctx.obj.get('service')
      res = service.read_dataset(dataset)
  
      if res.status_code == 200:
          click.echo(res.text, file=stdout)
      else:
          raise MapboxCLIException(res.text.strip())
docs: Read the attributes of a dataset.
  
      Prints a JSON object containing the attributes
      of a dataset. The attributes: owner (a Mapbox account),
      id (dataset id), created (Unix timestamp), modified
      (timestamp), name (string), and description (string).
  
          $ mapbox datasets read-dataset dataset-id
  
      All endpoints require authentication. An access token with
      `datasets:read` scope is required, see `mapbox --help`.