Skip to content
Workloom
Menu

CLI command · Drift and CI

wl sync

Check workspace drift state. CI-safe: it never writes.

Compares the files on disk with the desired state and exits non-zero on drift, so it can gate a CI job. --locked also validates the lock file; --remote checks local state against the live registry revision.

Usage

wl sync [options]

Arguments and options

-d, --dir <path>
Workspace directory. Default: the current one.
--workspace <path>
Path to the workspace manifest (JSON).
--check
Exit with a non-zero code on drift (the default behavior).
--locked
Also validate the lock file; exit non-zero if it is invalid.
--remote
Verify local state against the live registry revision.