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