-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathConstants.py
84 lines (72 loc) · 1.01 KB
/
Constants.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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
EXT="exit"
HLP="help"
WLC="welcome"
CLR="clear"
GPT="chatgpt"
GPT_LEN=len(GPT)
PER="perplexity"
PER_LEN=len(PER)
LMA="llama"
LMA_LEN=len(LMA)
DTS="details"
DTS_LEN=len(DTS)
TDY="today"
YTD="yesterday"
ALL="all"
MST="most"
LGT="longest"
SRT="shortest"
DTE="date"
AI="ai"
STD_CMDS=[
EXT,
HLP,
WLC,
CLR,
GPT,
PER,
DTS,
LMA
]
STD_FLGS=[
AI,
TDY,
YTD,
ALL,
MST,
LGT,
SRT,
DTE,
]
STD_FLGS_1ST_CHAR=[
TDY[0],
YTD[0],
ALL[0],
MST[0],
LGT[0],
SRT[0],
DTE[0],
]
# TODO work on creating a utility for flag/cmd detection!!!
STD_AIS=[
GPT,
PER,
LMA,
]
STD_AIS_1ST_CHAR=[
GPT[0],
PER[0],
LMA[0],
]
AIE="ai_exception"
FLE="file"
LNK="link"
PRB="probable"
COLUMN_WIDTH=13
ID="ID".center(COLUMN_WIDTH, ' ')
TIME="Times Asked".center(COLUMN_WIDTH, ' ')
DATE="Date Asked".center(COLUMN_WIDTH, ' ')
TIMEWAITED="Time Waited".center(COLUMN_WIDTH, ' ')
AIC="AI".center(COLUMN_WIDTH, ' ')
STANDARD_TEXT_WIDTH=70
STANDARD_TIMEOUT=3