Skip to main content

Module cmd

Module cmd 

Source
Expand description

Command implementations.

Each Command variant in cli.rs calls one of these.

Functions§

absorb
Manually absorb a single target file back into source.
apply
diff
yui diff [--icons MODE] [--no-color] — for every drifted entry (link or render), print a unified diff to stdout.
doctor
gc_backup
yui gc-backup [--older-than DUR] [--dry-run] — prune snapshots under $DOTFILES/.yui/backup/.
hooks_list
yui hooks list — show every configured hook + its last-run state.
hooks_run
yui hooks run [<name>] [--force] — run a single hook (or every hook) on demand. --force bypasses the when_run state check; the when filter (yui.os == 'macos' etc.) is always honored.
init
link
list
Show the resolved src→dst mappings for the current source repo.
render
status
Show every src→dst pair’s drift state against the current host.
unlink
unmanaged
yui unmanaged [--icons MODE] [--no-color] — list source files that no [[mount.entry]] claims.
update
yui update [--dry-run] — pull source repo and re-apply.