|
|
a5c91adc41
|
configuration: minor improvements / fixes
Could not extend the subclass of 'TypedDict' the way I wanted, so I switched to 'dataclass'.
|
2023-08-17 07:46:47 +02:00 |
|
|
|
ee8deed320
|
configuration: added validation
|
2023-08-16 11:15:47 +02:00 |
|
|
|
dc13213c4d
|
configuration is now a TypedDict in its own module
|
2023-08-16 08:14:41 +02:00 |
|
|
|
4303fb414f
|
added typ hints for all functions in 'main.py', 'utils.py', 'storage.py' and 'api_client.py'
|
2023-08-15 23:53:24 +02:00 |
|
|
|
f371a6146e
|
moved 'read_config' to storage.py and added 'write_config'
|
2023-08-12 13:55:39 +02:00 |
|
|
|
bc5e6228a6
|
defined 'ConfigType' for configuration file type hinting
|
2023-08-12 10:21:09 +02:00 |
|
|
|
6406d2f5b5
|
started to implement sub-commands
|
2023-08-11 18:27:33 +02:00 |
|
Oleksandr Kozachuk
|
c5c4a6628f
|
Allow character ":" in tags.
|
2023-08-05 21:00:30 +02:00 |
|
|
|
f8ed0e3636
|
tags are now separated by ' ' (old format is still readable)
|
2023-08-05 18:02:03 +02:00 |
|
Oleksandr Kozachuk
|
ca3a53e68b
|
Fix backwards compatibility of -W flag.
|
2023-08-05 15:35:27 +02:00 |
|
Oleksandr Kozachuk
|
8bb2a002a6
|
Fixed tests.
|
2023-08-05 13:21:17 +02:00 |
|
Oleksandr Kozachuk
|
1bb553b223
|
Merge branch 'main' of stage.fjerkroa.no:ok/ChatMastermind
|
2023-08-05 12:36:13 +02:00 |
|
Oleksandr Kozachuk
|
bb8aa2f817
|
Fix read_file declaration.
|
2023-08-05 12:36:04 +02:00 |
|
|
|
8e4a02b932
|
added option '-a' to match all tags when selecting chat history entries
|
2023-08-05 11:41:36 +02:00 |
|
|
|
5d55bed0ec
|
added option '-l' to list all tags and their frequency
|
2023-08-05 11:16:06 +02:00 |
|
|
|
32bd17594b
|
Added option '-W' to print chat history with filenames
|
2023-08-05 08:09:35 +02:00 |
|
|
|
b57d78a875
|
added option '-w' to print chat history with tags
|
2023-08-04 22:24:30 +02:00 |
|
Oleksandr Kozachuk
|
648d7b35cc
|
Merge branch 'main' of fstage:ok/ChatMastermind
|
2023-05-08 13:59:42 +02:00 |
|
Oleksandr Kozachuk
|
63a202376d
|
Optimize tags retrival in TXT files.
|
2023-05-07 14:43:56 +02:00 |
|
Oleksandr Kozachuk
|
c5fd466dda
|
Change storage to use text format per default, instead of yaml, but still support yaml.
|
2023-05-07 14:31:17 +02:00 |
|
Oleksandr Kozachuk
|
df2f5e01a5
|
Fix handling of -q and -s, add pre-commit checks.
|
2023-04-19 15:28:19 +02:00 |
|
Oleksandr Kozachuk
|
16f059920b
|
Name files with autogenerated numbers
|
2023-04-07 21:55:47 +02:00 |
|
Oleksandr Kozachuk
|
4ee777118d
|
Refactor process_tags
|
2023-04-07 17:56:02 +02:00 |
|
Oleksandr Kozachuk
|
b23a9f663f
|
Splain main.py to several files.
|
2023-04-07 17:40:24 +02:00 |
|