运行时依赖
无特殊依赖
安装命令
点击复制官方npx clawhub@latest install cn-todo-today
镜像加速npx clawhub@latest install cn-todo-today --registry https://cn.longxiaskill.com镜像同步中
技能文档
cn-todo-today – 今日待办管理器 简洁易用的今日待办工具。
功能
- 添加待办
- 标记完成
- 查看今日待办
- 统计完成情况
用法
# 添加 python3 cn_todo_today.py add "完成报告"# 列出今日待办 python3 cn_todo_today.py list
# 标记完成 python3 cn_todo_today.py done 1
# 删除 python3 cn_todo_today.py delete 1
# 统计 python3 cn_todo_today.py stats
参数
| 参数 | 说明 | 默认值 |
|---|---|---|
| action | add/list/done/delete/stats | 必填 |
| --text | 待办文本(add 时) | 空 |
| --id | 待办 ID(done/delete 时) | 空 |
示例
python3 cn_todo_today.py add "写周报"
python3 cn_todo_today.py add "回复邮件"
python3 cn_todo_today.py list
python3 cn_todo_today.py done 1
依赖 Python 3.x(内置 json 模块)
注意 数据保存在用户主目录;每天自动清理已完成待办。