From 40580f0b0d6fe9d033a187f2f3ba161b0ba0743a Mon Sep 17 00:00:00 2001 From: "mayang.my" Date: Wed, 8 Apr 2026 09:44:06 +0800 Subject: [PATCH 1/2] docs: clarify --complete flag behavior in get-my-tasks reference --- skills/lark-task/references/lark-task-get-my-tasks.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/skills/lark-task/references/lark-task-get-my-tasks.md b/skills/lark-task/references/lark-task-get-my-tasks.md index a29a259b53..adfcc8a08b 100644 --- a/skills/lark-task/references/lark-task-get-my-tasks.md +++ b/skills/lark-task/references/lark-task-get-my-tasks.md @@ -19,10 +19,13 @@ By default, the command will automatically paginate up to 20 times. Use `--page- # Search for a specific task by name lark-cli task +get-my-tasks --query "Lobster No. 1" -# Get my incomplete tasks (fetches up to 20 pages by default) +# Get all my tasks (fetches up to 20 pages by default) lark-cli task +get-my-tasks -# Fetch all tasks (up to 40 pages) +# Get my incomplete tasks (fetches up to 20 pages by default) +lark-cli task +get-my-tasks --complete=false + +# Fetch all my tasks (up to 40 pages) lark-cli task +get-my-tasks --page-all # Fetch up to 10 pages From 4f1c9b95bc434fca5ada757b91bc07dfceadce55 Mon Sep 17 00:00:00 2001 From: "mayang.my" Date: Wed, 8 Apr 2026 10:01:40 +0800 Subject: [PATCH 2/2] fix: clarify complete flag description in get-my-tasks command --- shortcuts/task/task_get_my_tasks.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shortcuts/task/task_get_my_tasks.go b/shortcuts/task/task_get_my_tasks.go index 3de8ca0423..d6e360daff 100644 --- a/shortcuts/task/task_get_my_tasks.go +++ b/shortcuts/task/task_get_my_tasks.go @@ -29,7 +29,7 @@ var GetMyTasks = common.Shortcut{ Flags: []common.Flag{ {Name: "query", Desc: "search for tasks by summary (exact match first, then partial match)"}, - {Name: "complete", Type: "bool", Desc: "if true, query completed tasks; default is false"}, + {Name: "complete", Type: "bool", Desc: "if true, query completed tasks;if false, query incompleted tasks; if not provided, both completed and incompleted tasks are queried."}, {Name: "created_at", Desc: "query tasks created after this time (date/relative/ms)"}, {Name: "due-start", Desc: "query tasks with due date after this time (date/relative/ms)"}, {Name: "due-end", Desc: "query tasks with due date before this time (date/relative/ms)"},