From da8526772b074a06a77a7a7d39ba0d21b7202ca8 Mon Sep 17 00:00:00 2001 From: Mario Lavoie Date: Wed, 28 Jan 2026 02:26:14 +0000 Subject: [PATCH] Fix --all flag to actually reprocess all videos --- src/cad_documenter/cli_project.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/cad_documenter/cli_project.py b/src/cad_documenter/cli_project.py index 281f4bd..8dacebb 100644 --- a/src/cad_documenter/cli_project.py +++ b/src/cad_documenter/cli_project.py @@ -89,7 +89,11 @@ def process(project_path: Path, process_all: bool, export_only: bool): proj = Project.load(project_path) config = load_config() - pending = proj.get_pending_videos() + if process_all: + pending = proj.manifest.videos # All videos + else: + pending = proj.get_pending_videos() + if not pending: console.print("[yellow]No pending videos to process[/yellow]") return