serge-sync

Serge

# `serge-sync`

# NAME

serge-sync - Perform a full synchronization + localization cycle

# SYNOPSIS

`serge sync [configuration-files] [--force] [--rebuild-ts-files] [--output-only-mode] [--lang=aa,bb,cc] [--jobs=foo,bar]`

Where `[configuration-files]` is a path to a specific .serge file, or a directory to scan .serge files in. You can specify multiple paths as separate command-line parameters. If no paths provided, Serge will look up for .serge files in the current directory.

# DESCRIPTION

For all provided configuration files, run `pull`, `pull-ts`, `localize`, `push-ts` and `push` commands in one cycle.

# OPTIONS

--force

  Has the same effect as `serge pull-ts --force` and `serge localize --force` combined.

--rebuild-ts-files

  Has the same effect as `serge localize --rebuild-ts-files`.

--output-only-mode

  Has the same effect as `serge localize --output-only-mode`.

--lang=xx[,yy][,zz], --language=xx[,yy][,zz] --languages=xx[,yy][,zz]

  See `serge localize --lang`. Will also completely skip processing configs where no target languages are found.

--job=xx[,yy][,zz], --jobs=xx[,yy][,zz]

  See `serge localize --job`. Will also completely skip processing configs where no target jobs are found.

--message="commit message"

  When pushing localized data back to version control, override the commit message with the provided one.

--echo-commands

  Echo system commands about to be executed (useful for debugging)

--echo-output

  Echo commands' output (useful for debugging)

# SEE ALSO

serge-pull, serge-pull-ts, serge-localize, serge-push-ts, serge-push

Part of serge suite.