CLI overview
Daemon lifecycle
Start in background
husky start
Starts the daemon, writes runtime files into .husky/, and returns when the socket is ready.
Run in foreground
husky daemon run
Useful for local debugging, service managers, and manual scenario validation.
Stop
husky stop
husky stop --force
--force immediately terminates in-flight work.
Reload config
husky reload
Triggers hot reload without interrupting running jobs.
Validation and config
husky validate
husky validate --strict
husky config show
Use config show to inspect the effective config after defaults are applied.
Job control
husky run <job>
husky run <job> --reason "why this was triggered"
husky retry <job>
husky cancel <job>
husky skip <job>
Status and history
husky status
husky history <job>
husky audit
husky dag
husky dag --json
Logs
husky logs <job>
husky logs <job> --run <id>
husky logs <job> --tail
husky logs <job> --include-healthcheck
husky logs --tag nightly --tail
Tag-based operations
husky tags list
husky status --tag <tag>
husky run --tag <tag>
husky pause --tag <tag>
husky resume --tag <tag>
Integrations
husky integrations list
husky integrations test <name>
Export
husky export --format=json
Global flags
Most commands support:
--configto select ahusky.yaml--datato select the runtime directory
Example:
husky --config ./envs/prod/husky.yaml --data ./.husky-prod status
Failure behavior when the daemon is absent
Commands that require the daemon fail clearly when it is not running. This includes operations such as status, run, cancel, and reload.