#!/usr/bin/env bash
set -euo pipefail
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
OUT="$(mktemp)"
trap 'rm -f "$OUT"' EXIT
node "$ROOT/src/state/cli.js" liveness "$@" >"$OUT"
cat "$OUT"
