← 返回
效率工具 中文

calmly

Manage macOS Calendar events from the command line using EventKit. Use when creating, listing, or viewing calendar events on macOS without AppleScript dialog...
利用 EventKit 通过命令行管理 macOS 日历事件。适用于在 macOS 上创建、列出或查看日历事件,且无需 AppleScript 对话框。
halbotley
效率工具 clawhub v1.3.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 979
下载
💾 8
安装
1
版本
#latest

概述

calmly

A calm CLI for macOS Calendar. Manage iCloud and local calendars without dialogs, prompts, or UI interruptions.

Why calmly?

  • AppleScript hangs — Calendar scripting often freezes waiting for permissions
  • ICS imports pop dialogs — Can't automate without user interaction
  • icalBuddy is read-only — Can't create events

calmly uses EventKit directly, so it works silently.

Installation

brew tap halbotley/tap
brew install calmly

First run prompts for Calendar access (System Settings → Privacy → Calendars). One-time only.

Commands

List calendars

calmly list

View upcoming events

calmly events Work           # Next 30 days
calmly events Family 14      # Next 14 days

Create all-day event

calmly add Work "Day Off" 2025-03-15

Create multi-day event

calmly add Family "Vacation" 2025-07-01 2025-07-14

Create timed event

calmly addtimed Work "Meeting" 2025-03-15 09:00 10:30
calmly addtimed Kids "Swim Practice" 2025-02-03 07:00 08:30

Batch Event Creation

For recurring events, loop in bash:

# Morning practice every Tuesday/Thursday for 6 weeks
for d in 2025-02-04 2025-02-06 2025-02-11 2025-02-13; do
  calmly addtimed Kids "🏊 AM Practice" "$d" 07:00 08:30
done

Date Verification

Before creating events, verify day/date alignment:

for d in 3 4 5 6 7; do date -j -f "%Y-%m-%d" "2025-02-0$d" "+%A %B %d"; done

Notes

  • Dates use YYYY-MM-DD format
  • Times use 24-hour HH:MM format
  • Calendar names are case-insensitive
  • Events sync to iCloud automatically
  • No delete command yet — delete via Calendar app or iCloud web

版本历史

共 1 个版本

  • v1.3.0 当前
    2026-03-29 07:13 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Nano Pdf

steipete
使用nano-pdf CLI通过自然语言指令编辑PDF
★ 275 📥 114,844
productivity

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 445 📥 226,298
developer-tools

timely

halbotley
通过命令行管理 Apple 提醒,支持地理围栏。可在 macOS 上创建带可选位置触发(到达/离开)的提醒。
★ 0 📥 1,138