You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -75,7 +77,20 @@ Already set up? Capture your environment and share it.
75
77
openboot snapshot
76
78
```
77
79
78
-
Captures Homebrew packages, macOS preferences, shell config, and git settings. Upload to [openboot.dev](https://openboot.dev) for a shareable install URL, or save locally with `--local`. [Learn more →](https://openboot.dev/docs/snapshot)
80
+
Captures Homebrew packages, macOS preferences, shell config (Oh-My-Zsh theme & plugins), and git settings. Upload to [openboot.dev](https://openboot.dev) for a shareable install URL, or save locally with `--local`.
81
+
82
+
Restoring from a snapshot now fully restores your environment — packages, git identity, shell theme, and plugins. [Learn more →](https://openboot.dev/docs/snapshot)
83
+
84
+
### Clean
85
+
86
+
Drifted from your config? Remove extra packages.
87
+
88
+
```bash
89
+
openboot clean # Compare against local snapshot
90
+
openboot clean --user yourname # Compare against cloud config
91
+
openboot clean --from my-setup.json # Compare against a snapshot file
92
+
openboot clean --dry-run # Preview what would be removed
5. Shell → Installs Oh-My-Zsh, sets ZSH_THEME and plugins in .zshrc
63
+
6. macOS preferences → `defaults write`
64
+
65
+
Snapshot data is mapped to `config.SnapshotGitConfig` and `config.SnapshotShellConfig` in `cli/snapshot.go`, then consumed by `installer.stepRestoreGit` and `installer.stepRestoreShell`.
66
+
55
67
## WHEN MODIFYING
56
68
57
69
- Adding capture step: Add to `CaptureWithProgress()`, update `totalSteps`, add to `Snapshot` struct
70
+
- Adding restore step: Add to `installer.RunFromSnapshot()`, create `config.Snapshot*Config` type, wire in `cli/snapshot.go`
58
71
- Adding preset detection: Modify `DetectBestPreset()` scoring in `match.go`
0 commit comments