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 /cmd | |
| 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 'cmd')
| -rw-r--r-- | cmd/totalrecall/main.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/totalrecall/main.go b/cmd/totalrecall/main.go index f3a84f9..a3523ce 100644 --- a/cmd/totalrecall/main.go +++ b/cmd/totalrecall/main.go @@ -71,6 +71,7 @@ func runCommand(cmd *cobra.Command, args []string, flags *cli.Flags) error { Theme: flags.StoryTheme, UltraRealistic: storyUltraRealistic(flags.StoryNoUltraRealistic), NarratorVoice: flags.NarratorVoice, + Slug: flags.StorySlug, }) return runner.Run(flags.StoryFile) } |
