ticktick-cli
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese说明:以下调用方式均以当前 文件所在文件夹为 workdir。
SKILL.md脚本调用方式示例(不要用 或 ):
uv run pythonpythonbash
cd skills/ticktick-cli && ./scripts/ticktick_cli.py --json project list错误示例:
bash
uv run python skills/ticktick-cli/scripts/ticktick_cli.py --json project list
python skills/ticktick-cli/scripts/ticktick_cli.py --json project list- 常用子命令(覆盖日常场景)
projectlistget --project-iddata --project-idcreate --name [--color --sort-order --view-mode --kind]update --project-id [--name --color --sort-order --view-mode --kind]- (危险,删除前需谨慎确认)
delete --project-id
taskget --project-id --task-idcreate --project-id --title [--content --desc --all-day --start-date --due-date --time-zone --reminder --repeat --priority --sort-order --item]update --task-id --project-id [--title --content --desc --all-day --start-date --due-date --time-zone --reminder --repeat --priority --sort-order --item]complete --project-id --task-id- (危险,删除前需谨慎确认)
delete --project-id --task-id
- 输出格式
- 所有调用统一在脚本后、子命令前加 (示例:
--json)./scripts/ticktick_cli.py --json task get --project-id ...
- 冷门参数/字段怎么查
- 运行 查看该命令的参数
./scripts/ticktick_cli.py <command> --help - 查看 了解完整参数、字段与响应结构
references/dida365-openapi.md
Note: All the following invocation methods take the folder where the current file is located as the workdir.
SKILL.mdExample of script invocation method (do not use or ):
uv run pythonpythonbash
cd skills/ticktick-cli && ./scripts/ticktick_cli.py --json project listIncorrect example:
bash
uv run python skills/ticktick-cli/scripts/ticktick_cli.py --json project list
python skills/ticktick-cli/scripts/ticktick_cli.py --json project list- Common Subcommands (Covering Daily Scenarios)
projectlistget --project-iddata --project-idcreate --name [--color --sort-order --view-mode --kind]update --project-id [--name --color --sort-order --view-mode --kind]- (Dangerous, please confirm carefully before deletion)
delete --project-id
taskget --project-id --task-idcreate --project-id --title [--content --desc --all-day --start-date --due-date --time-zone --reminder --repeat --priority --sort-order --item]update --task-id --project-id [--title --content --desc --all-day --start-date --due-date --time-zone --reminder --repeat --priority --sort-order --item]complete --project-id --task-id- (Dangerous, please confirm carefully before deletion)
delete --project-id --task-id
- Output Format
- Add uniformly after the script and before the subcommand for all invocations (example:
--json)./scripts/ticktick_cli.py --json task get --project-id ...
- How to Check Uncommon Parameters/Fields
- Run to view the parameters of the command
./scripts/ticktick_cli.py <command> --help - Check for complete parameters, fields, and response structures
references/dida365-openapi.md
Dida365 概念模型
Dida365 Concept Model
- Project:项目,任务的容器,支持不同视图模式(list/kanban/timeline)。
- 常用字段:
- (名称)
name - (颜色)
color - (视图模式)
viewMode - (类型)
kind - (分组)
groupId - (是否关闭)
closed - (权限)
permission - (排序)
sortOrder
- 常用字段:
- Task:任务,隶属于某个 Project,可包含提醒、优先级、重复规则等。
- 常用字段:
- (标题)
title - (内容)
content - (描述/清单说明)
desc - (标签)
tags - (优先级)
priority - (状态)
status - (开始时间)
startDate - (截止时间)
dueDate - (时区)
timeZone - (提醒)
reminders - (重复规则)
repeatFlag - (子任务列表)
items
- 常用字段:
- ChecklistItem:任务下的子任务(清单项),用于拆分步骤。
- 常用字段:
- (标题)
title - (状态)
status - (开始时间)
startDate - (完成时间)
completedTime - (时区)
timeZone - (排序)
sortOrder
- 常用字段:
- Column:项目看板列,用于 kanban 视图的列信息。
- 常用字段:
- (列名)
name - (排序)
sortOrder
- 常用字段:
- ProjectData:项目详情聚合,包含项目本身、未完成任务与列信息。
- Project: A container for tasks, supporting different view modes (list/kanban/timeline).
- Common fields:
- (Name)
name - (Color)
color - (View Mode)
viewMode - (Type)
kind - (Group ID)
groupId - (Is Closed)
closed - (Permission)
permission - (Sort Order)
sortOrder
- Common fields:
- Task: Belongs to a certain Project, can include reminders, priorities, repeat rules, etc.
- Common fields:
- (Title)
title - (Content)
content - (Description/Checklist Note)
desc - (Tags)
tags - (Priority)
priority - (Status)
status - (Start Date)
startDate - (Due Date)
dueDate - (Time Zone)
timeZone - (Reminders)
reminders - (Repeat Rule)
repeatFlag - (Subtask List)
items
- Common fields:
- ChecklistItem: Subtask (checklist item) under a task, used to split steps.
- Common fields:
- (Title)
title - (Status)
status - (Start Date)
startDate - (Completion Time)
completedTime - (Time Zone)
timeZone - (Sort Order)
sortOrder
- Common fields:
- Column: Project kanban column, used for column information in kanban view.
- Common fields:
- (Column Name)
name - (Sort Order)
sortOrder
- Common fields:
- ProjectData: Project detail aggregation, including the project itself, incomplete tasks, and column information.
资源
Resources
- ticktick_cli.py:主 CLI 入口,负责读取配置并发起 API 调用。
- dida365-openapi.md:官方 Open API 文档快照,便于离线检索参数与字段。
- ticktick_cli.py: Main CLI entry point, responsible for reading configurations and initiating API calls.
- dida365-openapi.md: Snapshot of the official Open API documentation, facilitating offline retrieval of parameters and fields.