kin: auto-commit after pipeline

This commit is contained in:
Gros Frumos 2026-03-17 17:26:31 +02:00
parent 17d7806838
commit eab9e951ab
12 changed files with 1696 additions and 5 deletions

View file

@ -703,6 +703,27 @@ def run_task(ctx, task_id, dry_run, allow_write):
click.echo(f"Duration: {result['total_duration_seconds']}s")
# ===========================================================================
# watch / ps
# ===========================================================================
@cli.command("watch")
@click.argument("task_id")
@click.pass_context
def watch(ctx, task_id):
"""Monitor a running task in real time (updates every 5s)."""
from cli.watch import cmd_watch
cmd_watch(ctx.obj["conn"], task_id)
@cli.command("ps")
@click.pass_context
def ps(ctx):
"""List all running pipelines with PID and current step."""
from cli.watch import cmd_ps
cmd_ps(ctx.obj["conn"])
# ===========================================================================
# audit
# ===========================================================================