Formerly KrillinAI, VideoTranslation and Dubbing Tool for 120+ Languages. Open-source AI workspace for creators, powered by Codex. Video downloader, video translation, create videos, images, audios, and edits with Agents in one place. For your Social Media like YouTube, TikTok, Instagram, etc.
TypeScript agent-skillscodex-clideskop-appdubbingimage-generationlocalizationskillsttsvideo-editingvideo-generationvideo-transcriptionvideo-translation
fix: align dry-run help text
wulien4208e8800f8c
diff --git a/internal/cli/commands.go b/internal/cli/commands.goindex 364676d6..93179ee5 100644--- a/internal/cli/commands.go+++ b/internal/cli/commands.go@@ -87,7 +87,7 @@ Flags:--video <file> Optional source video for dubbed output--voice <voice> Provider-specific voice--voice-clone-source <source> Optional voice clone source- --dry-run Validate and write manifest without external calls+ --dry-run Validate command without external calls-h, --help Show this help`case "render-horizontal":@@ -141,7 +141,7 @@ Flags:--task-id <id> Optional task id--prompt <text> Prompt for GPT image cover generation--size <size> Image size, such as 1024x1024 or 1536x1024- --dry-run Validate and write manifest without external calls+ --dry-run Validate command without external calls-h, --help Show this help`case "status":diff --git a/internal/cli/commands_test.go b/internal/cli/commands_test.goindex ac330210..cb9e65ae 100644--- a/internal/cli/commands_test.go+++ b/internal/cli/commands_test.go@@ -166,6 +166,20 @@ func TestParseCoverCommandHelp(t *testing.T) {}}+func TestHelpDryRunTextDoesNotClaimManifestWrites(t *testing.T) {+ commands := []string{"subtitle", "tts", "render-horizontal", "render-vertical", "cover"}+ for _, name := range commands {+ cmd, err := Parse([]string{name, "--help"})+ if err != nil {+ t.Fatalf("Parse(%s --help) error = %v", name, err)+ }+ help := Help(cmd)+ if strings.Contains(help, "write manifest") {+ t.Fatalf("%s help still claims dry-run writes manifest:\n%s", name, help)+ }+ }+}+func TestExecuteDryRunSubtitleReturnsJSONReadyResponse(t *testing.T) {cmd, err := Parse([]string{"subtitle",