diff options
| author | Paul Buetow <paul@buetow.org> | 2026-04-04 15:45:55 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-04-04 15:45:55 +0300 |
| commit | 2d6cd1a4d388b22396827cbf151aa2990ca6cd5a (patch) | |
| tree | 96076c7b50a2d5ae7adfaab4c4965802f5ec390c /internal/cli/flags.go | |
| parent | 4e8c51db6e5f4563525ce923f058ab3dc7357cb5 (diff) | |
feat: skip existing pages on re-run, add --story-slug for targeted repairv0.18.0
- loadOrGenerate() in artist.go skips API calls for pages already on disk,
loading bytes for the reference chain. Re-runs now only generate missing
pages instead of regenerating the whole comic.
- --story-slug flag forces the output directory slug so a repair run writes
to the same directory as the original (e.g. --story-slug ai-jungle-quest).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/cli/flags.go')
| -rw-r--r-- | internal/cli/flags.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/cli/flags.go b/internal/cli/flags.go index 104f721..9c83138 100644 --- a/internal/cli/flags.go +++ b/internal/cli/flags.go @@ -23,7 +23,8 @@ type Flags struct { StoryFile string // --story <file>: generate vocabulary story + comic image StoryStyle string // --story-style: override the random art style (empty = random) StoryTheme string // --story-theme: override the random genre pick (empty = random) - StoryNoUltraRealistic bool // --no-ultra-realistic: disable photorealistic rendering requirement + StoryNoUltraRealistic bool // --no-ultra-realistic: disable photorealistic rendering requirement + StorySlug string // --story-slug: force a specific output slug/directory (empty = auto from title) NarratorVoice string // --narrator-voice: Gemini voice for cinematic narration (empty = random) SkipAudio bool SkipImages bool |
