网淘吧来吧,欢迎您!

Todoist Task Manager技能使用说明

2026-04-01 新闻来源:网淘吧 围观:8
电脑广告
手机广告

Todoist CLI

使用todoist直接在终端管理 Todoist 任务。

设置

  1. 安装:brew install todoist-cli
  2. https://app.todoist.com/app/settings/integrations/developer
  3. 获取你的 API 令牌
mkdir -p ~/.config/todoist
echo '{"token": "YOUR_API_TOKEN"}' > ~/.config/todoist/config.json
  1. 创建配置:同步:

todoist sync

todoist list                           # All tasks
todoist list --filter "today"          # Due today
todoist list --filter "overdue"        # Overdue tasks
todoist list --filter "p1"             # Priority 1 (highest)
todoist list --filter "tomorrow"       # Due tomorrow
todoist list --filter "@work"          # By label
todoist list --filter "#Project"       # By project
todoist list --filter "(today | overdue) & p1"  # Combined filters

列出任务

todoist add "Buy milk"                                    # Simple task
todoist add "Call mom" --priority 1                       # With priority (1=highest, 4=lowest)
todoist add "Meeting" --date "tomorrow 3pm"               # With due date
todoist add "Report" --project-name "Work"                # To specific project
todoist add "Review" --label-names "urgent,review"        # With labels
todoist quick "Buy eggs tomorrow p1 #Shopping @errands"   # Natural language

添加任务

todoist modify TASK_ID --content "New title"
todoist modify TASK_ID --priority 2
todoist modify TASK_ID --date "next monday"

修改任务

todoist close TASK_ID              # Complete a task
todoist close TASK_ID TASK_ID2     # Complete multiple tasks

完成任务

todoist delete TASK_ID

删除任务

todoist show TASK_ID               # Show task details
todoist projects                   # List all projects
todoist labels                     # List all labels

查看详情

todoist sync                       # Sync local cache with Todoist

同步

todoist list --csv                 # CSV output for scripting
todoist list --color               # Colorized output
todoist list --namespace           # Show parent tasks as namespace
todoist list --indent              # Indent subtasks

输出格式

过滤语法Todoist CLI 支持官方的 Todoist 过滤语法

Todoist Task Manager

描述
今天截止于今天
明天截止于明天
逾期超过截止日期
无日期无截止日期
p1,p2,p3,p4优先级
@标签按标签
#项目按项目
分配给:我分配给您
7天未来7天内截止

与...结合&(和),(或),(非):备注

todoist list --filter "(today | overdue) & p1"
todoist list --filter "#Work & !@done"

运行

  • todoist 同步在网页/移动应用中进行更改后任务ID为数字(例如,
  • 12345678配置存储在
  • ~/.config/todoist/config.json缓存存储在
  • ~/.config/todoist/cache.json~/.config/todoist/cache.json

免责申明
部分文章来自各大搜索引擎,如有侵权,请与我联系删除。
打赏

文章底部电脑广告
手机广告位-内容正文底部

相关文章

您是本站第393633名访客 今日有1篇新文章/评论