跳转到主要内容

概述

个人空间命令管理您的私人数据 — 笔记、提醒和闪卡。这些数据与您的认证用户绑定,对其他团队成员不可见。

笔记

带有文件夹组织的个人笔记。无需项目范围 — 笔记属于您个人。

列出笔记

# All notes
apollo note list

# Filter by folder
apollo note list --folder "Daily notes"

# Limit results
apollo note list --limit 20

查看笔记

apollo note view "Meeting notes"
显示笔记的标题、文件夹、版本和完整内容。

搜索笔记

apollo note search "architecture"
apollo note search "deployment" --limit 10
在笔记标题和内容中搜索(不区分大小写)。

创建笔记

# With inline content
apollo note create -t "Sprint Retro" --content "## What went well\n- Shipped on time"

# From a file
apollo note create -t "Design Doc" --file ./design.md

# In a folder
apollo note create -t "Daily 2026-02-20" --content "..." --folder "Daily notes"
选项:
Flag描述
-t, --title <title>笔记标题(必填)
--content <text>笔记内容
--file <path>从文件读取内容
--folder <name>放入指定文件夹

更新笔记

# Update content
apollo note update "Sprint Retro" --content "Updated retro notes..."

# Move to a folder
apollo note update "Sprint Retro" --folder "Retros"

# Rename
apollo note update "Sprint Retro" -t "Sprint 12 Retrospective"

列出文件夹

apollo note folders

提醒

基于时间的提醒,支持优先级和可选的重复功能。

列出提醒

# Pending reminders only (default)
apollo reminder list

# Include completed and dismissed
apollo reminder list --all

创建提醒

# Basic reminder
apollo reminder create -t "Deploy v2" --at "2026-03-15T09:00"

# With priority and recurrence
apollo reminder create \
  -t "Weekly standup prep" \
  --at "2026-03-17T08:30" \
  --priority 1 \
  --recurrence weekly
选项:
Flag描述
-t, --title <title>提醒标题(必填)
--at <datetime>提醒时间(ISO 8601 格式,必填)
--description <text>附加详情
--priority <1-3>1 = 高,2 = 中,3 = 低
--recurrence <type>dailyweeklymonthly

管理提醒

# Mark as completed
apollo reminder complete <id>

# Snooze for 30 minutes (default)
apollo reminder snooze <id>

# Snooze for a specific duration
apollo reminder snooze <id> --minutes 60

# Snooze until a specific time
apollo reminder snooze <id> --until "2026-03-16T10:00"

# Dismiss (won't remind again)
apollo reminder dismiss <id>

# Permanently delete
apollo reminder delete <id>

闪卡

使用 SM-2 算法的间隔重复闪卡。创建卡片、跟踪复习间隔,在终端中学习。

列出闪卡

# All flashcards
apollo flashcard list

# Only cards due for review
apollo flashcard list --due

# Limit results
apollo flashcard list --limit 20

查看闪卡

apollo flashcard view <id>
显示正面、背面和 SM-2 统计数据(难易因子、间隔、重复次数、下次复习日期)。

创建闪卡

apollo flashcard create \
  --front "What is RLS?" \
  --back "Row-Level Security — a PostgreSQL feature that restricts which rows a user can access based on policies."
新卡片使用默认的 SM-2 参数,创建后即可复习。

查看待复习卡片

apollo flashcard due
显示待复习卡片数量和前几张的预览。

复习闪卡

交互式复习环节 — CLI 显示每张待复习卡片的正面,等您思考后揭示背面,然后请您评估记忆程度:
apollo flashcard review
Card 1 of 5
────────────────────────────
FRONT: What is RLS?

Press Enter to reveal...

BACK: Row-Level Security — a PostgreSQL feature that restricts
      which rows a user can access based on policies.

Rate your recall:
  1 = Complete blackout
  2 = Wrong, but recognized after seeing answer
  3 = Correct with difficulty
  4 = Perfect recall

Your rating [1-4]:
SM-2 算法根据您的评分调整卡片的复习间隔:
评分效果
1-2将间隔重置为 1 天(需要重新学习)
3略微增加间隔(答对但有困难)
4显著增加间隔(轻松回忆)
--json 模式下,apollo flashcard review --json 跳过交互流程,将待复习卡片列表以 JSON 格式输出 — 适用于构建自定义复习界面或 Claude Code 集成。

JSON 输出

所有个人空间命令都支持 --json
apollo note list --json
apollo reminder list --json
apollo flashcard due --json

管道示例

# Get all note titles
apollo note list --json | jq '.[].title'

# Count due flashcards
apollo flashcard due --json | jq '.due_count'

# Export a note to a file
apollo note view "Design Doc" --json | jq -r '.content' > design.md