summaryrefslogtreecommitdiff
path: root/internal/cli/command.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-04-06 11:25:37 +0300
committerPaul Buetow <paul@buetow.org>2026-04-06 11:25:37 +0300
commitef1f3d03ac3f117fecd999fc4fa96f557bfa8fe4 (patch)
treef1d3507db5699d86045090e64db99781611c99b7 /internal/cli/command.go
parent8f906ac9efc703db4f15c39115394ca8cf01c119 (diff)
feat: add --video CLI flag to control Veo video prompt after story generation
Add VideoEnabled bool (default true) to Flags, register --video bool flag in command.go, export PromptForGalleryVideos/GenerateSelectedVideos, and wire them into main.go via runStoryVideos — skipped when --video=false. Also update findGalleryPages to walk subdirectories recursively so gallery PNGs inside comics/<slug>/ are discovered from the CWD search root. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/cli/command.go')
-rw-r--r--internal/cli/command.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/cli/command.go b/internal/cli/command.go
index 090b2d1..c9dd889 100644
--- a/internal/cli/command.go
+++ b/internal/cli/command.go
@@ -75,6 +75,8 @@ func setupFlags(cmd *cobra.Command, flags *Flags) {
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")
+ cmd.Flags().BoolVar(&flags.VideoEnabled, "video", flags.VideoEnabled,
+ "Prompt to generate Veo videos after comic generation (default true; use --video=false to skip)")
cmd.Flags().BoolVar(&flags.SkipAudio, "skip-audio", false, "Skip audio generation")
cmd.Flags().BoolVar(&flags.SkipImages, "skip-images", false, "Skip image download")
cmd.Flags().BoolVar(&flags.GenerateAnki, "anki", false, "Generate Anki import file (APKG format by default, use --anki-csv for legacy CSV)")