966 B
966 B
task +set-ancestor
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.
Recommended Commands
# 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"
Parameters
| 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. |
Workflow
- Confirm the child task and, if applicable, the ancestor task.
- Execute
lark-cli task +set-ancestor ... - Report the updated task GUID and whether the ancestor was set or cleared.
Caution
This is a Write Operation -- You must confirm the user's intent before executing.