Skip to main content

Module cli

Module cli 

Source
Expand description

OpenSpec’s own CLI as a second opinion: when openspec is on PATH, validate --strict --json and instructions apply --json run read-only, sandboxed, telemetry off, and speccoder’s parse is compared with theirs. Absent or unusable, the cross-check is skipped and says why.

Functions§

crosscheck
Cross-check diagnostics for the selected change of snapshot.
crosscheck_with
crosscheck() with the openspec program given (None: not installed).
find
openspec on PATH, if any.
run
Runs openspec <args> in cwd; its stdout, or why not.