Command Reference
All commands are under the dhd binary.
Core
| Command | Description |
|---|
dhd init | Initialize 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 --local | Remove tracking from this machine only |
dhd untrack --missing | Ignore tracked files absent on this machine |
dhd sync | Push and pull tracked files |
dhd status | Show tracked file status (clean/dirty/pending) |
dhd discover [path] | Scan Git repos and sync known namespaces |
dhd clone | Clone a vault without machine initialization |
dhd read | Decrypt and read tracked files from a vault |
dhd export | Export decrypted files and secrets |
dhd export-identity | Print the age identity for sharing |
dhd rekey | Change the master password |
Secrets
| Command | Description |
|---|
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
| Command | Description |
|---|
dhd daemon run | Run in foreground (debugging) |
dhd daemon start | Start background daemon |
dhd daemon status | Check installation & running state |
dhd daemon stop | Stop background daemon |
dhd daemon restart | Restart background daemon |
dhd daemon logs [-f] [-n N] | View daemon logs |
dhd daemon errors [-f] [-n N] | View daemon error logs |
dhd daemon resume | Resume after conflict halt |
Conflicts & Merge
| Command | Description |
|---|
dhd conflicts list | List pending conflicts |
dhd conflicts show <file> | Show conflict details |
dhd conflicts resolve <f> | Resolve with local|remote strategy |
dhd conflicts clear | Clear resolved conflicts |
dhd merge resolve | Interactive merge TUI |
Utility
| Command | Description |
|---|
dhd ui | Launch web UI dashboard |
dhd doctor [--fix] | Check setup & repair issues |
dhd machines | List machines with backup files |
dhd cleanup [--force] | Remove local DaemonHound state |
dhd logout | Clear cached password from keychain |
dhd version | Print version |