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:50 +02:00
1 parent b02884fe46
commit 7a0d8c1d18
11 files changed
+329 -2

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
librofm:
format: m4b_mp3_fallback
output_dir: ./audiobooks
workers: -1