Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

CLI Reference

dotling is organized as a set of subcommands. Each command has its own page with detailed usage, flags, and examples.

Commands

CommandDescription
dotling initInitialize a new repo or clone an existing one
dotling addMove files into the repo and deploy symlinks/copies
dotling removeUntrack entries and restore files to original locations
dotling syncBidirectional sync between repo and actual filesystem
dotling statusShow deployment status of all tracked entries
dotling editEdit a tracked entry in $EDITOR
dotling encryptEncrypt tracked entries
dotling decryptDecrypt encrypted entries
dotling vaultManage the encryption vault
dotling doctorAudit repository health
dotling varsManage machine-local template variables
dotling completionsGenerate shell completion scripts

Global flags

FlagDescription
-v, --verboseShow hints and additional details
-h, --helpPrint help
-V, --versionPrint version

Key command flags

CommandFlagDescription
add--copyDeploy as a copy instead of a symlink
add--encryptEncrypt the file(s) using the vault password
add--templateTrack as a template: rendered on each sync
add--os <platform>Target OS: linux, macos, windows
sync--dry-runPreview changes without modifying anything
sync--forceOverwrite conflicting files (repo wins)
sync--prefer-actualPrefer the local file on conflict
sync--no-interactiveSkip conflicts, print warnings
sync--allow-hooksExecute all hooks without prompting
sync--no-hooksDisable all hook execution
status--diffShow inline diffs for modified copy entries