← 返回
开发者工具 中文

Calctl

Manage Apple Calendar events via icalBuddy + AppleScript CLI
通过 icalBuddy + AppleScript CLI 管理 Apple 日历事件
rainbat
开发者工具 clawhub v1.0.0 1 版本 99651.1 Key: 无需
★ 1
Stars
📥 3,122
下载
💾 125
安装
1
版本
#latest

概述

calctl - Apple Calendar CLI

Manage Apple Calendar from the command line using icalBuddy (fast reads) and AppleScript (writes).

Requirements: brew install ical-buddy

Commands

CommandDescription
----------------------
calctl calendarsList all calendars
calctl show [filter]Show events (today, tomorrow, week, YYYY-MM-DD)
calctl add </code></td><td>Create a new event</td></tr><tr><td><code>calctl search <query></code></td><td>Search events by title (next 30 days)</td></tr></tbody></table><h2>Examples</h2><pre><code># List calendars calctl calendars # Show today's events calctl show today # Show this week's events calctl show week # Show events from specific calendar calctl show week --calendar Work # Show events on specific date calctl show 2026-01-25 # Add an event calctl add "Meeting with John" --date 2026-01-22 --time 14:00 # Add event to specific calendar calctl add "Team Standup" --calendar Work --date 2026-01-22 --time 09:00 --end 09:30 # Add all-day event calctl add "Holiday" --date 2026-01-25 --all-day # Add event with notes calctl add "Project Review" --date 2026-01-22 --time 15:00 --notes "Bring quarterly report" # Search for events calctl search "meeting" </code></pre><h2>Options for <code>add</code></h2><table><thead><tr><th>Option</th><th>Description</th><th>Default</th></tr></thead><tbody><tr><td>--------</td><td>-------------</td><td>---------</td></tr><tr><td><code>-c, --calendar <name></code></td><td>Calendar to add event to</td><td>Privat</td></tr><tr><td><code>-d, --date <YYYY-MM-DD></code></td><td>Event date</td><td>today</td></tr><tr><td><code>-t, --time <HH:MM></code></td><td>Start time</td><td>09:00</td></tr><tr><td><code>-e, --end <HH:MM></code></td><td>End time</td><td>1 hour after start</td></tr><tr><td><code>-n, --notes <text></code></td><td>Event notes</td><td>none</td></tr><tr><td><code>--all-day</code></td><td>Create all-day event</td><td>false</td></tr></tbody></table><h2>Available Calendars</h2><p>Common calendars on this system:</p><ul><li>Privat (personal)</li><li>Work</li><li>Familien Kalender</li><li>rainbat solutions GmbH</li><li>TimeTrack</li></ul></div> </div> </div> <div id="tab-versions" class="detail-content"> <div class="detail-section"> <h2>版本历史</h2> <p style="margin-bottom:12px;font-size:14px;color:#94a3b8;">共 1 个版本</p> <ul class="version-list"> <li> <div> <span class="version-tag">v1.0.0</span> <span style="font-size:11px;color:#5b6abf;margin-left:8px;background:#eef0ff;padding:1px 8px;border-radius:10px;">当前</span> </div> <div style="font-size:12px;color:#94a3b8;"> 2026-03-28 12:28 安全 安全 </div> </li> </ul> </div> </div> <div id="tab-security" class="detail-content"> <div class="detail-section"> <h2>安全检测</h2> <div class="sec-grid"> <div class="sec-card"> <h4>腾讯云安全 (Keen)</h4> <div class="sec-status sec-safe"> 安全,无风险 </div> <a href="https://tix.qq.com/search/skill?keyword=5a901c9bfc18beda29aa145742551bb7" target="_blank">查看报告</a> </div> <div class="sec-card"> <h4>腾讯云安全 (Sanbu)</h4> <div class="sec-status sec-safe"> 安全,无风险 </div> <a href="https://static.cloudsec.tencent.com/html-report-v2/2026/05/25/391128_c564c0df6031074a42e8ca7b60780b4a.html?q-sign-algorithm=sha1&q-ak=AKID8JMG1bzBC1dz96qNhssfFftujT1NCoFi&q-sign-time=1781282094%3B1812818094&q-key-time=1781282094%3B1812818094&q-header-list=host&q-url-param-list=&q-signature=ff35b28116ae43560f9be471eb41385bef98c20a" target="_blank">查看报告</a> </div> </div> </div> </div> <!-- Recommended Skills --> <div style="margin-top:24px;"> <h2 style="font-size:18px;font-weight:600;margin-bottom:16px;">🔗 相关推荐</h2> <div class="rec-grid"> <div class="rec-card"> <span class="badge-cat" style="margin-bottom:8px;display:inline-block;">developer-tools</span> <h3><a href="/s/github">Github</a></h3> <div class="rec-owner">steipete</div> <div class="rec-desc">使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。</div> <div class="rec-stats"> <span style="color:#f39c12;">★ 668</span> <span style="color:#5b6abf;">📥 323,898</span> </div> </div> <div class="rec-card"> <span class="badge-cat" style="margin-bottom:8px;display:inline-block;">developer-tools</span> <h3><a href="/s/gog">Gog</a></h3> <div class="rec-owner">steipete</div> <div class="rec-desc">Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。</div> <div class="rec-stats"> <span style="color:#f39c12;">★ 921</span> <span style="color:#5b6abf;">📥 185,754</span> </div> </div> <div class="rec-card"> <span class="badge-cat" style="margin-bottom:8px;display:inline-block;">developer-tools</span> <h3><a href="/s/agent-browser-clawdbot">Agent Browser</a></h3> <div class="rec-owner">matrixy</div> <div class="rec-desc">专为AI智能体优化的无头浏览器自动化CLI,支持无障碍树快照和基于引用的元素选择。</div> <div class="rec-stats"> <span style="color:#f39c12;">★ 426</span> <span style="color:#5b6abf;">📥 118,071</span> </div> </div> </div> </div> </div> <script> document.addEventListener('DOMContentLoaded',function(){ document.querySelectorAll('.detail-tab').forEach(function(btn){ btn.addEventListener('click',function(e){ var tab = this.getAttribute('data-tab'); document.querySelectorAll('.detail-tab').forEach(function(b){b.classList.remove('active')}); document.querySelectorAll('.detail-content').forEach(function(c){c.classList.remove('active')}); this.classList.add('active'); var el = document.getElementById('tab-'+tab); if(el) el.classList.add('active'); }); }); }); </script> <div class="footer"> <p>Skill工具集 © 2026</p> </div></body> </html>