mirror of
https://github.com/katanemo/plano.git
synced 2026-04-27 17:56:28 +02:00
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:
parent
c69fbd8a4d
commit
d70f79b41c
4 changed files with 167 additions and 1 deletions
|
|
@ -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).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue