-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Move the detection and backup logic for automation to internal/core/automation.
- Create directory
internal/core/automation. - Move
automation/detect.go→internal/core/automation/scanner.go.
-- Update to usedomain.AutomationData. - Move
automation/backup.go→internal/core/automation/backup.go.
-- Keep theBackupAutomation(data, *tar.Writer)signature for now. It works well as a "Strategy". - Refactor: Extract
GenerateRestorationCommandsintointernal/core/automation/restore.go.
--This keeps "Backup logic" separate from "Restore logic".