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.local.toml[secrets] recipients.- secret_
unlock yui secret unlock— decrypt[secrets].passkey_wrappedusing any identity in[secrets].passkey_identities, write the resulting plaintext to[secrets].identity. With multiple passkey identities AND a TTY, presents an interactive picker so the user can choose which device to use (Pixel vs Bitwarden); off-TTY or with--passkey <label>the choice is non-interactive.- secret_
wrap yui secret wrap— encrypt the X25519 secret at[secrets].identityto every recipient in[secrets].passkey_recipientsand write the ciphertext to[secrets].passkey_wrapped. Committing that ciphertext lets the dotfiles repo carry the X25519 secret across machines safely; on a new machineyui secret unlocktaps the user’s passkey device (Pixel / Bitwarden / YubiKey) once to recover the plain X25519, after which everydayapplyis plugin-free.- 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.