feat: add template synchronization utility and CI integration

This commit is contained in:
Musa 2026-02-17 09:39:30 -08:00
parent c69fbd8a4d
commit 7036c4597d
4 changed files with 215 additions and 0 deletions

View file

@ -71,6 +71,23 @@ uv run planoai logs --follow
uv run planoai <command> [options]
```
### CI: Keep CLI templates and demos in sync
The CLI templates in `cli/planoai/templates/` are the source of truth for mapped
demo `config.yaml` files.
Use the sync utility to check drift:
```bash
uv run python -m planoai.template_sync --check
```
Auto-fix mapped demo configs:
```bash
uv run python -m planoai.template_sync --write
```
### Optional: Manual Virtual Environment Activation
While `uv run` handles the virtual environment automatically, you can activate it manually if needed: