← 返回
开发者工具 中文

Obsidian Task

Manage Obsidian tasks via obsidian-cli. List, toggle, create, and update tasks from the terminal.
使用 obsidian-cli 管理 Obsidian 任务,终端中可列出、切换、创建和更新任务。
boyd4y
开发者工具 clawhub v1.0.1 1 版本 99919 Key: 无需
★ 0
Stars
📥 1,234
下载
💾 36
安装
1
版本
#latest

概述

Obsidian Task

Manage tasks in your Obsidian vault using the official Obsidian CLI.

Dependencies

DependencyRequiredDescription
-----------------------------------
obsidianYesObsidian CLI (registered via Obsidian settings)
Obsidian 1.12+YesCatalyst license required for CLI access

Check Dependencies

# Check obsidian CLI availability
obsidian version

Prerequisites

  • Obsidian 1.12+ and Catalyst license required
  • Settings → General → Command line interface → Enable
  • Follow prompt to register the obsidian command
  • Restart terminal or source ~/.zprofile (macOS)
  • Note: Obsidian must be running for CLI to work

Test setup: obsidian version

Usage

/obsidian-task [command] [options]

Commands

CommandDescription
----------------------
(none)Show help and available commands

Options

OptionDescription
---------------------
--helpShow help message

Examples

# List tasks
/obsidian-task tasks file=projects/myproject/todo verbose

# Toggle task on line 2
/obsidian-task task file=projects/myproject/todo line=2 toggle

# Mark task as done
/obsidian-task task file=projects/myproject/todo line=2 done

# Mark task as todo (undo completion)
/obsidian-task task file=projects/myproject/todo line=2 todo

# Create new task
/obsidian-task append file=projects/myproject/todo content="- [ ] task name"

Raw CLI Commands

# List tasks (shows line numbers and status)
obsidian tasks file=<project_slug>/todo verbose

# Sample output:
# projects/<project_slug>/TODO.md
# 2	- [ ] 未完成的任务
# 3	- [x] 已完成的任务

# Update tasks
obsidian task file=<project_slug>/todo line=2 toggle
obsidian task file=<project_slug>/todo line=2 done
obsidian task file=<project_slug>/todo line=2 todo

# Create new task (via append)
obsidian append file=<project_slug>/todo content="- [ ] task name"

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-03-29 09:40 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Gog

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

Feishu Calendar Advanced

boyd4y
通过飞书-agent管理飞书日历:查看日历、列出事件、创建和删除事件,并进行冲突检测。
★ 0 📥 1,946
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,182