diff options
| author | Paul Buetow <paul@buetow.org> | 2026-04-08 10:01:57 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-04-08 10:01:57 +0300 |
| commit | 08d7d36ac6d49d7d5efd39a837bc08c9c52b6eb8 (patch) | |
| tree | 8ce1eecdeb832dadf1d35a4edf496542e13de2a0 /internal/processor/doc.go | |
| parent | 35a3c860f63403d14c83668dcdd017b6ef517fbf (diff) | |
refactor(processor): split BatchProcessor, AnkiExporter, CLIConfigResolver
Extract CLIConfigResolver for flag/config precedence and GUI wiring; embed
it on Processor so audio and image helpers use promoted accessors.
Move batch file flow to BatchProcessor and Anki generation to AnkiExporter;
Processor delegates while keeping per-word processing and translation cache.
Made-with: Cursor
Diffstat (limited to 'internal/processor/doc.go')
| -rw-r--r-- | internal/processor/doc.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/internal/processor/doc.go b/internal/processor/doc.go index 6738816..29f85ba 100644 --- a/internal/processor/doc.go +++ b/internal/processor/doc.go @@ -1,5 +1,6 @@ // Package processor contains the core business logic for processing Bulgarian -// words. It orchestrates audio generation, image downloading, translation, -// phonetic information fetching, and Anki file generation. This package -// serves as the main coordinator between all other components. +// words. Processor composes BatchProcessor (batch file orchestration), +// AnkiExporter (deck export), and CLIConfigResolver (CLI vs config-file +// precedence for run-mode settings). It also coordinates audio generation, +// image downloading, translation, and phonetic fetching. package processor |
