fix(kanban): clarify that watch names its initial board

This commit is contained in:
Teknium
2026-09-07 02:38:50 -07:00
parent d0c0f2c576
commit a1fdf5556e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -249,7 +249,7 @@ def _cmd_daemon(args: argparse.Namespace) -> int:
def _cmd_watch(args: argparse.Namespace) -> int:
"""Live-stream task_events to the terminal."""
kinds = {k.strip() for k in args.kinds.split(",") if k.strip()} if args.kinds else None
print(f"Watching kanban events on board '{kb.get_current_board()}'. Ctrl-C to stop.", flush=True)
print(f"Watching kanban events (initial board '{kb.get_current_board()}'). Ctrl-C to stop.", flush=True)
# Seed cursor at the latest id so we don't replay history.
with kbc.connect_closing() as conn:
cursor = int(conn.execute("SELECT COALESCE(MAX(id), 0) AS m FROM task_events").fetchone()["m"])
+1 -1
View File
@@ -33,4 +33,4 @@ def test_watch_names_resolved_board(tmp_path, monkeypatch, capsys, environment,
monkeypatch.setattr(kanban_ops.time, "sleep", interrupt)
assert kanban_command(parser.parse_args(argv)) == 0
assert f"board '{expected}'" in capsys.readouterr().out
assert f"initial board '{expected}'" in capsys.readouterr().out