-
Notifications
You must be signed in to change notification settings - Fork 1
/
args.py
25 lines (17 loc) · 867 Bytes
/
args.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import argparse
import sys
parser = argparse.ArgumentParser(description='Parse file paths from documents.')
parser.add_argument('-b', '--basic',
action="store_true",
help="Extract file paths as is, without additional manipulation (no img sequence or spanned clips detection " )
parser.add_argument('-w', '--wildcard',
action="store_true",
help="Remove img sequence spanned Red media numbers and replace with an '*'")
parser.add_argument('-f', '--fullscan',
action="store_true",
help="Find all related content for img sequences and red media. Doesn't work if media is offline")
parser.add_argument('inputFile',
help="File to be parsed for file paths within it")
parser.add_argument('--skipOffline',
action="store_true",
help="Find all related content for img sequences and red media. Doesn't work if media is offline")