mirror of
https://github.com/katanemo/plano.git
synced 2026-06-17 15:25:17 +02:00
feat: add template synchronization utility and CI integration
This commit is contained in:
parent
c69fbd8a4d
commit
7036c4597d
4 changed files with 215 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue