CLI Commands
sync
Synchronize environments with desired state
Sync Command
The sync
command synchronizes your environments with their desired state by executing required actions to deploy the latest builds of your packages.
Usage
Description
The sync command ensures that your environments are up-to-date with their desired state. It will:
- Check the current state of each environment
- Compare with the desired state
- Execute necessary actions to reach the desired state
- Deploy latest builds where needed
Flags
--environment
: Filter specific environments to sync (can be specified multiple times)--package
: Filter specific packages to sync (can be specified multiple times)--continuous
: Run in continuous mode, watching for changes
Examples
Related Commands
deploy
: Deploy a specific build to an environmentenvironment
: Manage deployment environmentsbuild
: Build packages and return outputs