def METHOD_NAME(self, *args, **kwargs):
    if args and args[0] and args[1]:
        mode = args[0]
        manuscript = args[1]
    else:
        raise Exception(
            "Please provide arguments for processing" " mode and manuscript name."
        )
    # Make sure we're working with the right manuscript
    if manuscript == "salzinnes":
        self.stdout.write("Salzinnes manuscript selected.")
        siglum = "cdn-hsmu-m2149l4"
        id = 133
        mei_location = "data_dumps/mei/salz"
        csv_location = "data_dumps/mei_csv/salzinnes.csv"
    elif manuscript == "st_gallen_390":
        self.stdout.write("St. Gallen 390 manuscript selected.")
        siglum = "ch-sgs-390"
        id = 127
        mei_location = "data_dumps/mei/csg-390"
        csv_location = "data_dumps/mei_csv/csg-390.csv"
    elif manuscript == "st_gallen_391":
        self.stdout.write("St. Gallen 391 manuscript selected.")
        siglum = "ch-sgs-391"
        id = 128
        mei_location = "data_dumps/mei/csg-391"
        csv_location = "data_dumps/mei_csv/csg-391.csv"
    else:
        raise Exception("Please provide manuscript name!")
    if mode == "mei_to_csv":
        self.stdout.write("Dumping MEI to CSV.")
        dump_to_csv(mei_location, siglum, id, csv_location)
        self.stdout.write("MEI dumped to CSV.")
    elif mode == "mei_to_solr":
        dump_to_csv(mei_location, siglum, id, csv_location)
        upload_to_solr(csv_location)
    elif mode == "csv_to_solr":
        upload_to_solr(csv_location)
    else:
        raise Exception("Please provide mode!")