← 返回
开发者工具 Key 中文

Todoist Task Manager

Manage Todoist tasks via the `todoist` CLI (list, add, modify, complete, delete). Supports filters, projects, labels, and priorities.
通过 `todoist` CLI 管理 Todoist 任务(列表、添加、修改、完成、删除),支持筛选、项目、标签和优先级。
2mawi2
开发者工具 clawhub v1.0.0 1 版本 99580.8 Key: 需要
★ 3
Stars
📥 3,266
下载
💾 50
安装
1
版本
#latest

概述

Todoist CLI

Use todoist to manage Todoist tasks directly from the terminal.

Setup

  1. Install: brew install todoist-cli
  2. Get your API token from https://app.todoist.com/app/settings/integrations/developer
  3. Create config:
  4. mkdir -p ~/.config/todoist
    echo '{"token": "YOUR_API_TOKEN"}' > ~/.config/todoist/config.json
    
  5. Sync: todoist sync

List Tasks

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

Add Tasks

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

Modify Tasks

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

Complete Tasks

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

Delete Tasks

todoist delete TASK_ID

View Details

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

Sync

todoist sync                       # Sync local cache with Todoist

Output Formats

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

Filter Syntax

Todoist CLI supports the official Todoist filter syntax:

FilterDescription
---------------------
todayDue today
tomorrowDue tomorrow
overduePast due date
no dateNo due date
p1, p2, p3, p4Priority level
@labelBy label
#ProjectBy project
assigned to: meAssigned to you
7 daysDue in next 7 days

Combine with & (and), | (or), ! (not):

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

Notes

  • Run todoist sync after making changes in the web/mobile app
  • Task IDs are numeric (e.g., 12345678)
  • Config stored in ~/.config/todoist/config.json
  • Cache stored in ~/.config/todoist/cache.json

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 14:34 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Spotify

2mawi2
在 macOS 上控制 Spotify 播放:播放/暂停、跳过曲目、调节音量、播放艺人/专辑/播放列表。适用于用户请求播放音乐、控制 Spotify、切换歌曲或调节 Spotify 音量。
★ 9 📥 7,556
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 666 📥 323,791
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 920 📥 185,727