feature:drift
Show which SPLENT-owned feature scaffold files have drifted from the current templates.
Usage
splent feature:drift <feature_name> [--verbose]
| Argument / Option | Description |
|---|---|
<feature_name> |
Feature to inspect (splent_feature_auth or splent-io/splent_feature_auth). |
--verbose / -v |
Show the full unified diff for every changed file. |
Examples
splent feature:drift splent_feature_auth
splent feature:drift splent_feature_auth --verbose
Example output
Drift report for splent_io/splent_feature_auth (generated with CLI v1.0.0, current CLI v1.2.1)
────────────────────────────────────────────────────────────────────────────
scaffold files [SPLENT-owned — safe to update]
webpack.config.js ⚠ 3 line(s) changed
MANIFEST.in ✔ up to date
.gitignore ✔ up to date
Run 'splent feature:sync-template' to apply changes.
Description
Re-renders the current scaffold templates and compares them against what is on disk. Only the three scaffold files that SPLENT fully owns are checked — all developer source code is ignored.
Files checked:
| File | Location |
|---|---|
.gitignore |
Feature root |
MANIFEST.in |
Feature root |
webpack.config.js |
src/{org}/{name}/assets/js/ |
Never inspected (developer-owned):
routes.py,models.py,services.py,repositories.py,forms.py,seeders.pytemplates/,assets/js/scripts.jspyproject.toml(managed byfeature:contract)
Notes
- Features generated before
cli_versiontracking show(generated with unknown CLI version). - This command is read-only. To apply changes, use
feature:sync-template. - Works with both editable and versioned snapshot cache entries.