-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
27 lines (21 loc) · 878 Bytes
/
Copy pathmain.py
File metadata and controls
27 lines (21 loc) · 878 Bytes
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
26
27
import sys
import cli
from utils.analysis import analyze_tail
from utils.settings import Settings as Settings
user_inputs = cli.get_user_inputs.main(standalone_mode=False)
if user_inputs == 0: # for catching the --help option
sys.exit()
# create option flag to just print out the user_inputs
# print(user_inputs)
if __name__ == "__main__":
# settings = Settings(user_inputs)
settings = Settings(user_inputs).settings
# print(settings)
#
analyze_tail(settings)
# TODO: apply black styling to all modules (i.e. ' --> ")
# TODO: annotate/de-annotate NOTE notes
# TODO: move imports needed conditionally to within those branches,
# example: like warnings.warn & itertools.product in settings.py
# TODO: remove needless assertion stmt(s) after code is well-tested
# alternatively: create custom Assertion that's only in effect w/ some --debug