kin: auto-commit after pipeline
This commit is contained in:
parent
17d7806838
commit
eab9e951ab
12 changed files with 1696 additions and 5 deletions
21
cli/main.py
21
cli/main.py
|
|
@ -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
|
||||
# ===========================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue