bundle.pods.cli

Attributes

log

Functions

pods(ctx, pods_root) → None

Manage local AI pods (list, status, build, run, up, down, logs).

list_pods(ctx) → None

List known pods grouped by category.

status(ctx, pod_name) → None

Show docker compose status for a pod.

build(ctx, target) → None

Build a pod or an entire category.

run_pod(ctx, pod_name) → None

Start a pod in detached mode.

up(ctx, pod_name) → None

Start a pod and stream its logs.

down_pod(ctx, pod_name) → None

Stop and remove a pod stack.

exec_cmd(ctx, pod_name, command) → None

Execute a command inside a running pod container.

logs(ctx, pod_name, follow, tail) → None

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.list_pods(ctx: rich_click.Context) → None

List known pods grouped by category.

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”

async bundle.pods.cli.logs(ctx: rich_click.Context, pod_name: str, follow: bool, tail: int) → None

Show pod logs.