用途:通过 remindctl 在终端直接管理 macOS 的 Apple 提醒事项,支持清单筛选、按日期查看和脚本化输出,便于自动化与命令行工作流。
安装:Homebrew 执行 brew install steipete/tap/remindctl;从源码安装则执行 pnpm install && pnpm build,二进制位于 ./bin/remindctl。仅支持 macOS,首次使用需按提示授予提醒事项权限。
权限:查看状态用 remindctl status,请求授权用 remindctl authorize。
查看提醒:默认(今天)remindctl;今天 remindctl today;明天 remindctl tomorrow;本周 remindctl week;逾期 remindctl overdue;即将到来 remindctl upcoming;已完成 remindctl completed;全部 remindctl all;指定日期 remindctl 2026-01-04。
管理清单:列出全部 remindctl list;查看某清单 remindctl list Work;创建 remindctl list Projects --create;重命名 remindctl list Work --rename Office;删除 remindctl list Work --delete。
新增提醒:快速添加 remindctl add "Buy milk";带清单与到期时间 remindctl add --title "Call mom" --list Personal --due tomorrow。编辑提醒:remindctl edit 1 --title "New title" --due 2026-01-04。完成提醒:remindctl complete 1 2 3。删除提醒:remindctl delete 4A83 --force。
输出格式:JSON 用于脚本 remindctl today --json;纯文本 TSV 用 --plain;仅计数用 --quiet。日期格式支持 today、tomorrow、yesterday、YYYY-MM-DD、YYYY-MM-DD HH:mm 及 ISO 8601(如 2026-01-04T12:34:56Z),可用于 --due 与日期筛选。
限制:仅 macOS。若拒绝访问,需在系统设置 → 隐私与安全性 → 提醒事项中启用终端或 remindctl;通过 SSH 运行时,应在执行命令的 Mac 上授权。其他平台暂未提供支持信息。