summaryrefslogtreecommitdiff
path: root/internal/cli
diff options
context:
space:
mode:
Diffstat (limited to 'internal/cli')
-rw-r--r--internal/cli/command.go3
-rw-r--r--internal/cli/flags.go3
2 files changed, 5 insertions, 1 deletions
diff --git a/internal/cli/command.go b/internal/cli/command.go
index a1168b5..090b2d1 100644
--- a/internal/cli/command.go
+++ b/internal/cli/command.go
@@ -69,6 +69,9 @@ func setupFlags(cmd *cobra.Command, flags *Flags) {
cmd.Flags().StringVar(&flags.StoryStyle, "story-style", "", "Art style for comic pages (default: random). E.g. \"ultra realistic comic strip with photographic detail and dramatic lighting\"")
cmd.Flags().StringVar(&flags.StoryTheme, "story-theme", "", "Genre/theme for the story (default: random). E.g. \"a thrilling space adventure with aliens and spaceships\"")
cmd.Flags().BoolVar(&flags.StoryNoUltraRealistic, "no-ultra-realistic", false, "Disable photorealistic rendering requirement; produces standard comic-book style output")
+ cmd.Flags().StringVar(&flags.StorySlug, "story-slug", "",
+ "Force the output directory slug for --story (e.g. \"ai-jungle-quest\"). "+
+ "Use this to repair a partial run: existing pages are skipped, missing ones are generated.")
cmd.Flags().StringVar(&flags.NarratorVoice, "narrator-voice", "",
"Gemini voice for cinematic story narration (default: random from cinematic pool). "+
"Valid values: Charon, Fenrir, Enceladus, Algieba, Aoede, Schedar")
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