| 1 | #!/usr/bin/env python3 |
| 2 | """ |
| 3 | PPT Master - Native Enhance PPTX Entrypoint |
| 4 | |
| 5 | Public CLI wrapper for native enhancement of existing PPTX decks. It delegates |
| 6 | to the shared native core for delivery checks, notes, narration, timings, and |
| 7 | global or per-slide transitions while keeping the stable workflow command. |
| 8 | |
| 9 | Usage: |
| 10 | python3 scripts/native_enhance_pptx.py init <source.pptx> [--name project_name] |
| 11 | python3 scripts/native_enhance_pptx.py plan <project_path> |
| 12 | python3 scripts/native_enhance_pptx.py validate <project_path> [--materials {all,notes}] |
| 13 | python3 scripts/native_enhance_pptx.py apply <project_path> |
| 14 | |
| 15 | Examples: |
| 16 | python3 scripts/native_enhance_pptx.py init projects/source.pptx --name fire_station |
| 17 | python3 scripts/native_enhance_pptx.py plan projects/fire_station_native_enhance_20260626 |
| 18 | python3 scripts/native_enhance_pptx.py apply projects/fire_station_native_enhance_20260626 |
| 19 | |
| 20 | Dependencies: |
| 21 | Same as native_enhance_pptx_core.py. |
| 22 | """ |
| 23 | |
| 24 | from __future__ import annotations |
| 25 | |
| 26 | import sys |
| 27 | from pathlib import Path |
| 28 | |
| 29 | _SCRIPTS_DIR = Path(__file__).resolve().parent |
| 30 | if str(_SCRIPTS_DIR) not in sys.path: |
| 31 | sys.path.insert(0, str(_SCRIPTS_DIR)) |
| 32 | |
| 33 | from attribution_guard import require_skill_integrity # noqa: E402 |
| 34 | from console_encoding import configure_utf8_stdio # noqa: E402 |
| 35 | from native_enhance_pptx_core import main # noqa: E402 |
| 36 | |
| 37 | configure_utf8_stdio() |
| 38 | |
| 39 | |
| 40 | if __name__ == "__main__": |
| 41 | require_skill_integrity() |
| 42 | raise SystemExit(main()) |
| 43 |