product:sync

Synchronize all versioned features declared in the active product.


Usage

splent product:sync

Force re-download of features:

splent product:sync --force

Description

This command:

  • Reads the feature list from the product pyproject.toml.
  • Detects versioned features (feature@version).
  • Ensures each feature exists in .splent_cache.
  • Clones missing versions using feature:clone.
  • Creates or updates symlinks under <product>/features/<namespace>/.

Local features (those without @version) are skipped.


Options

--force

Deletes the cached version of each feature before cloning it again.

This is useful if the cache is corrupted or outdated.


Requirements

  • A product must be selected (splent product:select).
  • The product must contain a valid pyproject.toml.