Add sync command that: - Finds dependent modules from repos.yaml - Updates composer.json with new version - Supports --dry-run for preview - Auto-detects current module from directory Migrated from core-claude PR #63. Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
454 B
454 B
| name | description | args |
|---|---|---|
| sync | Sync changes across dependent modules | <module_name> [--dry-run] |
Sync Dependent Modules
When changing a base module, this command syncs the dependent modules.
Usage
/code:sync # Sync all dependents of current module
/code:sync core-tenant # Sync specific module
/code:sync --dry-run # Show what would change
Action
"${CLAUDE_PLUGIN_ROOT}/scripts/sync.sh" "$@"