在终端里用 Toddyi
toddyi 是一个处理任务的小程序:用与应用相同的账号,在 shell、脚本或 AI 智能体中列出、创建、完成和修改任务。
安装
从 GitHub 的发布页面下载适合你系统的文件,放到 PATH 中;或者使用 Go 1.24 及以上版本:
go install github.com/toddyi-app/toddyi-cli/cmd/toddyi@latest
登录
login 会显示一个代码,并在浏览器中打开一个页面供你确认,包括第二步验证。CLI 永远不会看到你的密码,所有已登录的终端都可以在 /cli/tokens 撤销。
toddyi login
toddyi whoami
toddyi logout
使用
在任何命令后加上 --json,即可得到脚本能读取的输出。
toddyi create task "Write the report" --due tomorrow --folder Work --priority high
toddyi tasks --due today
toddyi tasks --due today --ids | toddyi done
toddyi --json tasks --due overdue
配合 AI 智能体
toddyi mcp 让 Claude Code 等任何 MCP 客户端都能使用你的任务:
claude mcp add toddyi -- toddyi mcp