Release standalone PPT template workflow 0.5.0
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
#!/usr/bin/env python3
|
||||
"""PPT Master - PPTX Template Fill (thin wrapper).
|
||||
|
||||
Delegates to the template_fill_pptx package. Kept as the CLI entry point so the
|
||||
documented command paths keep working:
|
||||
|
||||
python3 scripts/template_fill_pptx.py analyze <deck.pptx> -o <stem>.slide_library.json
|
||||
python3 scripts/template_fill_pptx.py scaffold <stem>.slide_library.json -o fill_plan.json
|
||||
python3 scripts/template_fill_pptx.py check-plan <stem>.slide_library.json fill_plan.json
|
||||
python3 scripts/template_fill_pptx.py apply <deck.pptx> fill_plan.json -o output.pptx
|
||||
python3 scripts/template_fill_pptx.py validate <project>
|
||||
|
||||
Implementation lives in the template_fill_pptx/ package (ooxml, analyzer,
|
||||
scaffolder, checker, text_fill, table_fill, chart_fill, transitions, notes,
|
||||
package, applier, validator, cli).
|
||||
"""
|
||||
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
# Ensure the scripts directory is on sys.path so the package can be found.
|
||||
sys.path.insert(0, str(Path(__file__).resolve().parent))
|
||||
|
||||
from attribution_guard import require_skill_integrity
|
||||
from console_encoding import configure_utf8_stdio
|
||||
from template_fill_pptx import main
|
||||
|
||||
configure_utf8_stdio()
|
||||
|
||||
if __name__ == "__main__":
|
||||
require_skill_integrity()
|
||||
raise SystemExit(main())
|
||||
Reference in New Issue
Block a user