delete_worktrees
Queue worktrees for deletion in the background, each as its fate says.
writesidempotentdestructiveCLI onlyWorktree
Komrad skips any worktree with a live agent.
Calling it#
curl -X POST http://127.0.0.1:8787/komrad.worktree.v1.WorktreeService/DeleteWorktrees \
-H 'Content-Type: application/json' \
-d '{
"dirs": [
"<dirs>"
]
}'komrad rpc delete-worktrees \
--dirs '<string>'Request#
DeleteWorktreesRequest#
| Field | Type | Description |
|---|---|---|
dirs | string[]* no repeats each not empty | The worktrees to delete, by the paths |
Response#
Empty#
No fields.