mani sync
Run this from inside a vault's directory (i.e. a folder with a manifa.toml binding, created by vault create or clone). Exits non-zero if a conflict copy was created, so scripts can branch on it.
Conflicts are never resolved by overwriting: when the same file changed both locally and on the server since your last sync, your version is kept in place and the incoming one is written beside it as a conflict copy (e.g. config (conflict from <device> <timestamp>).toml) — you merge the two by hand and re-run mani sync. Non-overlapping changes merge cleanly.
Usage
mani sync [OPTIONS]Options
mani sync --timingPrint a per-phase timing breakdown to stderr (same as MANIFA_TIMING=1). Useful for diagnosing a slow sync / clone
mani sync --jsonOutput machine-readable JSON instead of the human table (for status, vault ls, device ls, env ls). Stable field names for scripting
mani sync --quietSuppress progress and chatter — print only results and errors (alias: -q)
mani sync --no-colorNever colorize output (also honored: the NO_COLOR env var). Color is off automatically when output isn't an interactive terminal
mani sync --helpPrint help (see a summary with '-h') (alias: -h)