Prerequisites: Please read
../lark-shared/SKILL.mdto understand authentication, global parameters, and security rules.
Set a parent task for a task, or clear the parent to make it independent.
# Set a parent task
lark-cli task +set-ancestor --task-id "guid_1" --ancestor-id "guid_2"
# Clear the parent task
lark-cli task +set-ancestor --task-id "guid_1"
| Parameter | Required | Description |
|---|---|---|
--task-id <guid> |
Yes | The task GUID to update. |
--ancestor-id <guid> |
No | The parent task GUID. Omit it to clear the ancestor. |
lark-cli task +set-ancestor ...[!CAUTION] This is a Write Operation -- You must confirm the user's intent before executing.