komrad

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>"
  ]
}'

Request#

DeleteWorktreesRequest#

Response#

Empty#

No fields.