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.--forcebypasses thewhen_runstate check; thewhenfilter (yui.os == 'macos'etc.) is always honored.- init
- link
- list
- Show the resolved src→dst mappings for the current source repo.
- render
- secret_
encrypt yui secret encrypt <path> [--force] [--rm-plaintext]— encrypt a plaintext file to every recipient in[secrets] recipientsand write the ciphertext alongside as<path>.age.- secret_
init yui secret init [--comment TEXT]— generate an age X25519 keypair on this machine, write the secret to the configured identity path, and append the public key to$DOTFILES/config.toml[secrets] recipients.- secret_
store yui secret store [--force]— push the X25519 identity at[secrets].identityinto the configured[secrets.vault]. Run on a machine that already has the identity; the new machine then recovers it viayui secret unlock.- secret_
unlock yui secret unlock— fetch the X25519 identity from the configured[secrets.vault]and write it to[secrets].identity. The vault provider’s CLI (bw/op) handles auth — yui inherits whatever factor that CLI is configured to require.- 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.