Expand description
Sync Executor - Domain logic for ggen sync command
This module contains the business logic for the sync pipeline, extracted from the CLI layer to maintain separation of concerns.
The executor handles:
- Manifest parsing and validation
- Validate-only mode
- Dry-run mode
- Full sync pipeline execution
§Architecture
The CLI verb function should be thin (complexity <= 5):
- Parse CLI args into
SyncOptions - Call
SyncExecutor::execute(options) - Return result
All business logic lives here in the executor.
Structs§
- Sync
Executor - Executes the sync pipeline with given options
- Sync
Result - Result of sync execution - returned to CLI layer
- Synced
File Info - Individual file info in sync result
- Validation
Check - Validation check result