Repository navigation
taba v0.2.2
taba v0.2.2
A backward-compatible patch on v0.2.1. Existing commands, flags, exit codes,
JSON fields and state are unchanged; the additions below are new flags and a
new outcome of an existing status.
taba ps --watch --json(#14)
keeps running and prints thetaba ps --jsondocument as newline-delimited
JSON: one compact line at once, then a new full snapshot line only when a
service's status, port, PID, lease, borrows or claims change, or a service
is added or removed. It re-reads state every second (--interval, at
least250ms), accepts--scopeand--running, and never writes state:
unlikeps, it does not renew the caller's lease. It exits 0 on Ctrl+C
(SIGINT; on Windows also Ctrl+Break) and when its stdout is closed. An
error is printed as one{"ok": false, ...}line and ends the stream with
that error's exit status.--watchneeds--json(or
TABA_OUTPUT=json) for now; without it, taba exits withE_USAGE. It is
meant for other programs, such as editors and orchestrators, and is the
base of the comingtaba ui. See
Watching for changes.taba updateon a version with no GitHub release. A build of a
version that was never released (for examplemainafter a version bump)
used to fail withE_UPDATE_FAILED(HTTP 404) whentaba updatelooked up
its own release. It now reportsmanual_updatewith the reason "The
running version has no matching stable official release." Other failures
are stillE_UPDATE_FAILED, and the binary is never touched.