--dry-run; use --pull-only when you intend only to read and save hosted history.
Example
Options
--push-onlyand--pull-onlyare mutually exclusive.--recover-cursorsrequires--pull-onlyand performs cloud reads only- it does not change permissions.
--dry-runprints {network:false,rows:[…]} with no network.--include-wantedadds wanted entries to push.--lifecyclerequires a pull and cannot be combined with--push-only.
Exit status
0 on success; 2 on usage, configuration, input or request failure.Behavior and limits
Behavior and limits
By default sync pushes expected entries and pulls placement and target event feeds.
--include-wanted adds wanted entries to push. A saved ledgerIds selection limits push.Pull saves observations, events and a separate cursor for each feed. Expired history records a gap and a current-state snapshot.Use --pull-only --recover-cursors after an invalid cursor refusal: sync reads complete snapshots under the configured project and current credential, then replays retained events. It saves snapshots for each recovered feed and retains earlier evidence.It reports denied reads and leaves the authored ledger unchanged. With --lifecycle, it pulls scoped deal snapshots into state.lifecycle after recovering hosted ledger references.It refuses ambiguous mappings or incomplete recovery reads.More examples
More examples
Full command syntax
Full command syntax
Configuration and file contracts
Configuration and file contracts
Read configuration and file ownership for environment variables, compatibility aliases and writer locks. Read local file contracts for artifact fields. Browse the CLI index for related commands.
Check the selected environment and workspace access before calling hosted operations. See capability status.