Skip to content

CLI command reference

The @cubedot/cli drives the spec-first build loop from your repo. Requires Node.js ≥ 18.

CommandWhat it does
cubedot initConnect + scaffold the repo (--token, or --project / --key / --url)
cubedot syncRefresh the local projection and detect drift
cubedot statusConnectivity + file-health check (read-only)
cubedot checkValidate markers/config (read-only, CI-friendly)
CommandWhat it does
cubedot workList all unblocked functionalities, dependency-aware, not a strict sequence (aliases: next, todo)
cubedot start <FN>Set a functionality to in_progress
cubedot complete <FN>Set a functionality to code-complete
cubedot done <FN>Mark a functionality done (human gate; --discrepancy to record open criteria)
cubedot progressPrint the completion summary (read-only)

A functionality moves todo → in_progress → code-complete → done. done is a human gate, it’s the point where you confirm the work actually meets its acceptance criteria, not just that code was written. Record any open criteria with --discrepancy.

See CLI troubleshooting for the common “Connecting…” and “command not found” fixes.