feature:pull
Run git pull on editable features in the local cache.
Usage
splent feature:pull [<feature_name>]
| Argument | Description |
|---|---|
<feature_name> |
Optional. Pull only this feature (e.g. splent_io/splent_feature_auth). If omitted, all editable features are pulled. |
Examples
Pull all editable features:
splent feature:pull
Pull a specific feature:
splent feature:pull splent_io/splent_feature_auth
Example output
Pulling 4 editable feature(s):
✔ splent_io/splent_feature_auth Already up to date.
✔ splent_io/splent_feature_redis Updating a1b2c3d..e4f5g6h
✖ splent_io/splent_feature_mail not a git repo
✔ splent_io/splent_feature_profile Already up to date.
3/4 pulled successfully.
Description
Scans .splent_cache/features/ for editable entries (directories without a @version suffix) and runs git pull --ff-only in each one. Versioned snapshots (e.g. splent_feature_auth@v1.2.7) are skipped — they are immutable by design.
<feature_name> accepts both namespace/feature_name and plain feature_name formats. If the namespace is omitted, all editable entries matching the feature name are pulled regardless of namespace.
If a feature has uncommitted local changes, --ff-only will refuse to pull and report an error. Commit or stash changes before pulling.