Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion shortcuts/task/task_get_my_tasks.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)"},
Expand Down
7 changes: 5 additions & 2 deletions skills/lark-task/references/lark-task-get-my-tasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading