diff options
| author | 2026-04-21 01:24:39 +0100 | |
|---|---|---|
| committer | 2026-04-21 01:24:39 +0100 | |
| commit | a9bf50b479cd508569b82b8e24c47713b499db44 (patch) | |
| tree | 700b417ca35495ece64c080f76d4c0ea3012511e /README.md | |
| parent | 77987eba6dc0060e36bd37174a3fc242810a6e1f (diff) | |
| download | dotfiles-a9bf50b479cd508569b82b8e24c47713b499db44.tar.gz dotfiles-a9bf50b479cd508569b82b8e24c47713b499db44.tar.bz2 dotfiles-a9bf50b479cd508569b82b8e24c47713b499db44.zip | |
refactor(justfile): streamline recipes to DOMAIN-VERB scheme with shape dispatchers
Adopt chezmoi-aligned vocabulary (add, forget, re-add, apply, diff, merge,
status) uniformly across four domains (dotfiles, etc, pkg, unit). Add
top-level dispatchers that sniff argument shape and delegate:
- contains '/': path -> etc-* (^/?etc) or dotfiles-*
- ends with .service/.timer/.socket/.mount/.target/.path: unit-*
- bare words: pkg-*
Fill in missing recipes: dotfiles-add/forget/re-add/diff/merge/status,
etc-merge, etc-forget (was etc-rm), unit-add/forget. Rename:
services-* -> unit-*, *-drift -> *-status, install/install-all -> pkg-apply,
fix -> pkg-fix, groups -> pkg-list, readd -> re-add, add/remove ->
pkg-add/forget, etc -> etc-status, etc-readd -> etc-re-add.
Top-level apply stays monolithic (chezmoi apply deploys dotfiles + /etc
atomically via the onchange template). sync = apply + pkg-fix + unit-apply.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions
