Skip to content

xlflow check

Run lint, analyze, and doctor as a combined preflight.

Usage

bash
xlflow check [--keepalive] [--keepalive-interval <duration>]

Options and Arguments

Option / argumentDescriptionDefault
--keepaliveReuse the bridge process during doctor checks.false
--keepalive-interval <duration>Bridge keepalive interval.command default
--jsonReturn a combined report.false

Examples

bash
xlflow check
xlflow check --keepalive --json

Notes

TIP

Use check --json as the default preflight before agent-driven push and run workflows.

IMPORTANT

check reports each phase independently, so read the phase list even when the combined status is failure.

JSON Output Example

Successful --json output uses the xlflow envelope plus command-specific fields.

json
{
  "status": "error",
  "command": "check",
  "phases": [
    { "name": "lint", "status": "ok" },
    { "name": "analyze", "status": "error" },
    { "name": "doctor", "status": "ok" }
  ]
}

Released under the MIT License.