feat(config): add workers field and --workers CLI flag

Add parallel download worker-count configuration through all three
config layers: Config dataclass (workers=3 default), YAML parsing
with InvalidWorkersError validation, and -w/--workers CLI flag with
three-layer resolution (CLI > config > hardcoded 3). 6 new tests.

Closes #12
This commit is contained in:
AlexKucera committed 2026-06-03 17:07:22 +02:00
1 parent b02884fe46
commit dbdcc72260
10 files changed
+326 -2

No files matched your search

+1
View File
@@ -3,3 +3,4 @@ librofm:
output_dir: /tmp/books
download_extras: false
download_covers: false
workers: 5