bundle.pods.cli¶
Attributes¶
Functions¶
|
Manage local AI pods (list, status, build, run, up, down, logs). |
|
List known pods grouped by category. |
|
Show docker compose status for a pod. |
|
Build a pod or an entire category. |
|
Start a pod in detached mode. |
|
Start a pod and stream its logs. |
|
Stop and remove a pod stack. |
|
Execute a command inside a running pod container. |
|
Show pod logs. |
Module Contents¶
- bundle.pods.cli.log¶
- bundle.pods.cli.pods(ctx: rich_click.Context, pods_root: pathlib.Path | None) None¶
Manage local AI pods (list, status, build, run, up, down, logs).
- async bundle.pods.cli.status(ctx: rich_click.Context, pod_name: str) None¶
Show docker compose status for a pod.
- async bundle.pods.cli.build(ctx: rich_click.Context, target: str) None¶
Build a pod or an entire category.
If TARGET matches a category name, builds all pods in that category in dependency order. Otherwise resolves TARGET as a pod (full path or short name) and builds it.
Examples
bundle pods build bases # whole category bundle pods build services/website # single pod bundle pods build website # short name
- async bundle.pods.cli.run_pod(ctx: rich_click.Context, pod_name: str) None¶
Start a pod in detached mode.
- async bundle.pods.cli.up(ctx: rich_click.Context, pod_name: str) None¶
Start a pod and stream its logs.
- async bundle.pods.cli.down_pod(ctx: rich_click.Context, pod_name: str) None¶
Stop and remove a pod stack.
- async bundle.pods.cli.exec_cmd(ctx: rich_click.Context, pod_name: str, command: tuple[str, ...]) None¶
Execute a command inside a running pod container.
Examples
bundle pods exec colmap – colmap –version bundle pods exec recon3d/sfm/colmap – bundle recon3d sfm –workspace /workspace/bicycle bundle pods exec colmap – bash -c “echo hello”