sync CLI templates with demo configs via manifest + CI flow (#764)

* feat: add template synchronization utility and CI integration

* refactor: make simple write to CI, no check

* ci: conditionally sync CLI templates on push to main branch

* docs: fix small capitalization
This commit is contained in:
Musa 2026-02-17 12:59:09 -08:00 committed by GitHub
parent c69fbd8a4d
commit d70f79b41c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 167 additions and 1 deletions

View file

@ -71,6 +71,17 @@ 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 write mapped demo configs from templates:
```bash
uv run python -m planoai.template_sync
```
### Optional: Manual Virtual Environment Activation
While `uv run` handles the virtual environment automatically, you can activate it manually if needed:
@ -80,4 +91,4 @@ source .venv/bin/activate
planoai build # No need for 'uv run' when activated
```
**Note:** For end-user installation instructions, see the [plano documentation](https://docs.planoai.dev).
**Note:** For end-user installation instructions, see the [Plano documentation](https://docs.planoai.dev).