def METHOD_NAME(self, ctx):
    """Fill a data library for a tutorial."""
    self.check_topic_init_tuto()
    # get the zenodo link
    z_link = ""
    update_metadata = False
    if self.tuto.zenodo_link != "":
        if self.kwds["zenodo_link"]:
            info("The data library and the metadata will be updated with the new Zenodo link")
            z_link = self.kwds["zenodo_link"]
            self.tuto.zenodo_link = z_link
            update_metadata = True
        else:
            info("The data library will be extracted using the Zenodo link in the metadata of the tutorial")
            z_link = self.tuto.zenodo_link
    elif self.kwds["zenodo_link"]:
        info("The data library will be created and the metadata will be filled with the new Zenodo link")
        z_link = self.kwds["zenodo_link"]
        self.tuto.zenodo_link = z_link
        update_metadata = True
    if z_link == "" or z_link is None:
        raise Exception(
            "A Zenodo link should be provided either in the metadata file or as argument of the command"
        )
    # extract the data library from Zenodo
    self.tuto.prepare_data_library_from_zenodo()
    # update the metadata
    if update_metadata:
        self.tuto.write_hands_on_tutorial(add_z_file_links=False)