Commit a9132cf4 authored by Thomas Bernhart's avatar Thomas Bernhart
Browse files

Add description to scripts

parent 29358606
......@@ -4,7 +4,8 @@
import argparse
from ch.memobase.export import foxml_export
arg_handler = argparse.ArgumentParser
arg_handler = argparse.ArgumentParser(description="Export all FOXML files for Fedora3 objectStore " +
"into record set specific folders withing OUTPUT-DIRECTORY")
arg_handler.add_argument("--object-store-directory", required=True)
arg_handler.add_argument("--output-directory", required=True)
......
......@@ -6,7 +6,8 @@ from ch.memobase.export import foxml_export, media_export
from os import listdir
from os import path
arg_handler = argparse.ArgumentParser
arg_handler = argparse.ArgumentParser(description="Perform a full export by first exporting all FOXML files " +
"and then exporting media files for each record set")
arg_handler.add_argument("--object-store-directory", required=True)
arg_handler.add_argument("--datastream-store-directory", required=True)
arg_handler.add_argument("--http-resources-directory", required=True)
......
......@@ -4,7 +4,7 @@
import argparse
from ch.memobase.export import media_export
arg_handler = argparse.ArgumentParser
arg_handler = argparse.ArgumentParser(description="Export media files for a specific record set")
arg_handler.add_argument("--record-set-directory", required=True)
arg_handler.add_argument("--datastream-store-directory", required=True)
arg_handler.add_argument("--http-resources-directory", required=True)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment