--path
A Claude Code CLI flag, read out of the shipped bundle. It has been in the build since v2.1.324, including the newest one read.
A hidden worktree-hook command runs WorktreeCreate or WorktreeRemove hooks for the current folder and reports JSON, for use by Claude Desktop
Not Anthropic's. This is the line from the earliest changelog entry here that named it, v2.1.324.
In the changelogs
1Releases whose published page names --path.
-
v2.1.324
Hidden worktree-hook command lets Claude Desktop run worktree hooks
A hidden
worktree-hookcommand runs WorktreeCreate or WorktreeRemove hooks for the current folder and reports JSON, for use by Claude Desktopfound in this entry's text
First cited
0No release's published evidence quotes this name. The ledger indexes the Evidence lines of every changelog on this site, so this says nobody here has ever quoted it; it says nothing about how old the name is.
Presence across releases
1Build by build
7One row per release since the first build this name was read out of. Absent means the build was read and the name was not in it, never mined means no bundle for that release was ever archived, and a declared type or a default is only ever what that release's own bundle stated.
Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the CLI flag does. All CLI flags.