Cn Todo Today
v1.0.0Todo Today skill. 自动生成,无人工审查。
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时) | 空 |
数据存储
- 本地JSON文件:
~/.cn_todo_today.json
示例
# 添加
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模块)
注意事项
- 数据存储在用户主目录
- 每天会自动清理已完成的待办
Version tags
latest
Runtime requirements
🔧 Clawdis
