Commit 75a6b1d5 authored by Biagio's avatar Biagio

added outdir

parent fa80fa41
......@@ -6,6 +6,7 @@ from keld.server.server import app
if __name__ == "__main__":
parser = argparse.ArgumentParser(description='Demo')
parser.add_argument('--parse', help='Parse the provided document')
parser.add_argument('--outdir', help="Set the output directory")
parser.add_argument('--parseall', action="store_true", help='Parse all the documents')
parser.add_argument('--download', action="store_true", help='Downloads all the documents')
parser.add_argument('--gui', action="store_true", help='Starts the server with a GUI')
......@@ -17,10 +18,10 @@ if __name__ == "__main__":
download_all()
if args.parse:
parse(args.parse)
parse(args.parse, args.outdir)
if args.parseall:
parse_all()
parse_all(args.outdir)
if args.gui:
if args.port:
......
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