bf9395e022
CI / license-header (push) Has been skipped
CI / e2e-dry-run (push) Has been skipped
CI / fast-gate (push) Failing after 0s
Test PR Label Logic / test-pr-labels (push) Failing after 1s
Skill Format Check / check-format (push) Failing after 2s
CI / security (push) Failing after 5s
CI / unit-test (push) Has been skipped
CI / lint (push) Has been skipped
CI / script-test (push) Has been skipped
CI / deterministic-gate (push) Has been skipped
CI / coverage (push) Has been skipped
CI / results (push) Has been cancelled
CI / deadcode (push) Has been cancelled
CI / e2e-live (push) Has been cancelled
1.3 KiB
1.3 KiB
task +tasklist-create
Prerequisites: Please read
../lark-shared/SKILL.mdto understand authentication, global parameters, and security rules.
Create a new tasklist, and optionally batch create tasks within it.
Recommended Commands
# Create an empty tasklist
lark-cli task +tasklist-create --name "Q1 Goals"
# Create a tasklist and add members
lark-cli task +tasklist-create --name "Project A" --member "ou_xxx,ou_yyy"
# Create a tasklist and batch create tasks within it
lark-cli task +tasklist-create --name "Launch Checklist" --data '[{"summary": "Code Review", "assignee": "ou_aaa"}, {"summary": "Deploy", "assignee": "ou_bbb"}]'
Parameters
| Parameter | Required | Description |
|---|---|---|
--name <text> |
Yes | The name of the tasklist. |
--member <ids> |
No | Comma-separated list of user open_ids to add as editors. |
--data <json> |
No | JSON array of task definitions to create and add to the tasklist automatically. |
Workflow
- Confirm the tasklist name, members, and tasks (if any).
- Execute the command
lark-cli task +tasklist-create .... - Report success, including the new tasklist ID and the result of the batch task creation.
Caution
This is a Write Operation -- You must confirm the user's intent before executing.