summaryrefslogtreecommitdiff
path: root/internal/processor/processor.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-04-27 08:53:26 +0300
committerPaul Buetow <paul@buetow.org>2026-04-27 08:53:26 +0300
commitc6e0b5cc48dedb52477cb0060e6ebc8ca4f088f2 (patch)
treec8dfff1c65648e342a5908e8df3e660173cd3d6a /internal/processor/processor.go
parentdee27d8f2805c9e409853462d35f9103e1a8c53e (diff)
refactor(snonux): separate CLI parsing from I/O and theme logic
Split the overloaded parseFlags into focused helpers: - parseFlags now does *only* CLI flag parsing. - resolvePaths handles ~ expansion. - validateDirs performs filesystem creation/checks. - resolveTheme selects the random theme using rng. This removes the SRP violation in parseFlags and makes each function independently testable. Tests updated accordingly. Fixes: z8
Diffstat (limited to 'internal/processor/processor.go')
0 files changed, 0 insertions, 0 deletions