forked from mitdbg/aurum-datadiscovery
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrun_dod.py
20 lines (15 loc) · 808 Bytes
/
run_dod.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import argparse
from DoD import dod
if __name__ == "__main__":
print("Run DoD")
# Argument parsing
parser = argparse.ArgumentParser()
parser.add_argument('--model_path', help='Path to Aurum model')
parser.add_argument('--separator', default=',', help='CSV separator')
parser.add_argument('--output_path', default=False, help='Path to store output views')
parser.add_argument('--interactive', default=True, help='Run DoD in interactive mode or not')
parser.add_argument('--full_view', default=False, help='Whether to output raw view or not')
parser.add_argument('--list_attributes', help='Schema of View')
parser.add_argument('--list_values', help='Values of View, leave "" if no value for a given attr is given')
args = parser.parse_args()
dod.main(args)