-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoptions.py
23 lines (18 loc) · 859 Bytes
/
options.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Options for ResumeCLT
# --source_dir: Directory where the resume files are stored
# --output_dir: Directory where the output files will be stored
# (optional)
# --target_list: File containing the list of target schools
import argparse
def parse_args():
parser = argparse.ArgumentParser(description='Options for ResumeCLT')
parser.add_argument('--source_dir', type=str, required=True,
help='Directory where the resume files are stored')
parser.add_argument('--output_dir', type=str, required=True,
help='Directory where the output files will be stored')
parser.add_argument('--target_list', type=str, required=False,
help='File containing the list of target schools')
return parser.parse_args()
if __name__ == "__main__":
args = parse_args()
print(args)