5 个版本 (有破坏性)
| 0.5.0 | 2022 年 8 月 16 日 |
|---|---|
| 0.4.0 | 2022 年 8 月 14 日 |
| 0.3.0 | 2022 年 8 月 9 日 |
| 0.2.0 | 2022 年 8 月 9 日 |
| 0.1.0 | 2022 年 8 月 9 日 |
在 命令行工具 中排名第 2959
21KB
391 行
NeoCal - Google Calendar 命令行界面
NeoCal 是一个应用程序,允许您从命令行访问您的 Google Calendar。它使用 Google Apps Script 平台来构建自己的数据源,使其比使用 OAUTH 配置令牌设置得更简单。
安装
您可以通过 cargo 安装它,或者从 GitHub 发布版中下载二进制文件。
如果您选择 cargo 路线,则需要安装它(通常使用 rustup)。在终端中,运行以下命令安装 neocal
cargo install neocal
然后您可以从您所在的任何目录运行 neocal。
如果您想要其他安装选项,请访问 Wiki 页面
设置
安装完成后,您需要按照以下 3 个步骤完成配置
如何使用
NeoCal 提供了一系列子命令,具有以下功能
agenda Shows user calendar in Agenda-like view mode
calendar Shows user calendar in Calendar-like view mode
help Print this message or the help of the given subcommand(s)
它还提供了以下选项
-f, --for <FOR> Name of the calendar to use
-h, --help Print help information
-s, --search <SEARCH> Word to search in the calendar
-t, --timezone <TIMEZONE> Name of the Time Zone to return the events
--today Get calendar entries for today
--tomorrow Get calendar entries for tomorrow
-V, --version Print version information
--week Get calendar entries for the current week
运行 --help/-h 以获取详细用法。
待办事项
按优先级添加支持的待办事项列表
高
- 添加日历视图
- 允许查看周数
- 应适用于“日历”和“议程”模式
- 日历和议程应能够从开始到结束筛选或显示事件
中
- 允许选择表格样式
- 列出用户日历
低
- 从 CLI 创建事件
- 从 CLI 编辑事件
- 从 CLI 删除事件
- 事件弹出提醒
- 主题支持
- 彩色输出
依赖项
~12–25MB
~384K SLoC