-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
34 lines (26 loc) · 828 Bytes
/
justfile
File metadata and controls
34 lines (26 loc) · 828 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Dotfiles management tasks
# Usage: just <recipe>
# Default: show available recipes
default:
@just --list
# Show what sync-back would change (dry-run)
sync-back *ARGS:
python3 scripts/sync-back.py {{ARGS}}
# Fail if sync-back drift exists
sync-back-check *ARGS:
python3 scripts/sync-back.py --check {{ARGS}}
# Apply sync-back changes to manifest files
sync-back-apply *ARGS:
python3 scripts/sync-back.py --apply {{ARGS}}
# Sync a specific section (e.g. brew, vscode, cargo, scoop, winget)
sync-section SECTION:
python3 scripts/sync-back.py --section {{SECTION}}
# Apply sync for a specific section
sync-section-apply SECTION:
python3 scripts/sync-back.py --apply --section {{SECTION}}
# Run chezmoi apply
apply:
chezmoi apply
# Run chezmoi diff to see pending changes
diff:
chezmoi diff