CLI overview
Global flags
Section titled “Global flags”| Flag | Description |
|---|---|
--herdr-bin PATH |
Herdr executable to invoke. Defaults to herdr. |
--help |
Show command help. |
--version |
Print the hwt version. |
Worktrees
Section titled “Worktrees”hwt createcreates and configures a Herdr worktree workspace.hwt removequickly removes a linked worktree and workspace.hwt listlists Herdr worktrees for a repository.
Configuration
Section titled “Configuration”| Command | Description |
|---|---|
config path [--global] |
Print a repository or global config path. |
config show |
Print resolved configuration and sources as JSON. |
config validate [path] |
Validate a file or the resolved repository config. |
config init [--global] |
Create a starter config without overwriting an existing file. |
hwt schema
Section titled “hwt schema”Print the embedded JSON Schema. The output always matches the schema used by that hwt binary.
hwt schemahwt skill
Section titled “hwt skill”Print the canonical hwt skill for AI agent discovery:
hwt skillThe core skill keeps project configuration details out of routine worktree operations. Print that on-demand reference separately:
hwt skill configMiscellaneous
Section titled “Miscellaneous”- Shell completions for Bash, Zsh, Fish, and PowerShell.