Command Reference

All commands are under the dhd binary.

Core

CommandDescription
dhd initInitialize DaemonHound and connect a vault
dhd track <file>Start tracking a file (encrypts & commits)
dhd untrack <file>Stop tracking and remove from vault
dhd untrack --localRemove tracking from this machine only
dhd untrack --missingIgnore tracked files absent on this machine
dhd syncPush and pull tracked files
dhd statusShow tracked file status (clean/dirty/pending)
dhd discover [path]Scan Git repos and sync known namespaces
dhd cloneClone a vault without machine initialization
dhd readDecrypt and read tracked files from a vault
dhd exportExport decrypted files and secrets
dhd export-identityPrint the age identity for sharing
dhd rekeyChange the master password

Secrets

CommandDescription
dhd secret set <key>Store or update a secret
dhd secret get <key>Retrieve a secret value
dhd secret list [key]List secrets or mappings
dhd secret ref <k> <f> <V>Map secret to env var in a file
dhd secret unref <k> <f>Remove a secret mapping
dhd secret rename <o> <n>Rename a secret, preserving mappings
dhd secret delete <key>Delete a secret and all mappings
dhd secret rotate <key>Rotate a secret value
dhd secret history <key>View version history
dhd secret rollback <key>Roll back to a previous version
dhd secret diff <key>Show diff between versions

Daemon

CommandDescription
dhd daemon runRun in foreground (debugging)
dhd daemon startStart background daemon
dhd daemon statusCheck installation & running state
dhd daemon stopStop background daemon
dhd daemon restartRestart background daemon
dhd daemon logs [-f] [-n N]View daemon logs
dhd daemon errors [-f] [-n N]View daemon error logs
dhd daemon resumeResume after conflict halt

Conflicts & Merge

CommandDescription
dhd conflicts listList pending conflicts
dhd conflicts show <file>Show conflict details
dhd conflicts resolve <f>Resolve with local|remote strategy
dhd conflicts clearClear resolved conflicts
dhd merge resolveInteractive merge TUI

Utility

CommandDescription
dhd uiLaunch web UI dashboard
dhd doctor [--fix]Check setup & repair issues
dhd machinesList machines with backup files
dhd cleanup [--force]Remove local DaemonHound state
dhd logoutClear cached password from keychain
dhd versionPrint version