feature:sync-template
Apply template updates to SPLENT-owned feature scaffold files without touching developer code.
Usage
splent feature:sync-template <feature_name> [--dry-run] [--yes]
| Argument / Option | Description |
|---|---|
<feature_name> |
Feature to update (splent_feature_auth or splent-io/splent_feature_auth). |
--dry-run |
Show what would change without writing any files. |
--yes |
Skip the confirmation prompt. |
Examples
Update scaffold files (with confirmation):
splent feature:sync-template splent_feature_auth
Preview changes without applying:
splent feature:sync-template splent_feature_auth --dry-run
Non-interactive:
splent feature:sync-template splent_feature_auth --yes
Example output
Files to update (1):
src/splent_io/splent_feature_auth/assets/js/webpack.config.js (3 line(s) changed)
Proceed with update? [y/N]: y
✔ src/splent_io/splent_feature_auth/assets/js/webpack.config.js
Done.
Description
Re-renders the current scaffold templates and overwrites only the files that have changed.
Files that can be updated:
| File | Location |
|---|---|
.gitignore |
Feature root |
MANIFEST.in |
Feature root |
webpack.config.js |
src/{org}/{name}/assets/js/ |
Never touched:
routes.py,models.py,services.py,repositories.py,forms.py,seeders.pytemplates/,assets/js/scripts.jspyproject.toml— usefeature:contractto update the contract sections
Pairs well with
feature:drift— inspect what has drifted before syncing.product:sync-template— same workflow for products.