googleworkspace/cli

gws-calendar-insert

Google Calendar: Create a new event.

查看源码
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

calendar +insert

PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security rules. If missing, run gws generate-skills to create it.

create a new event

Usage

bash
gws calendar +insert --summary <TEXT> --start <TIME> --end <TIME>

Flags

FlagRequiredDefaultDescription
--calendarprimaryCalendar ID (default: primary)
--summaryEvent summary/title
--startStart time (ISO 8601, e.g., 2024-01-01T10:00:00Z)
--endEnd time (ISO 8601)
--locationEvent location
--descriptionEvent description/body
--attendeeAttendee email (can be used multiple times)
--meetAdd a Google Meet video conference link

Examples

bash
gws calendar +insert --summary 'Standup' --start '2026-06-17T09:00:00-07:00' --end '2026-06-17T09:30:00-07:00'
gws calendar +insert --summary 'Review' --start ... --end ... --attendee alice@example.com
gws calendar +insert --summary 'Meet' --start ... --end ... --meet

Tips

  • Use RFC3339 format for times (e.g. 2026-06-17T09:00:00-07:00).
  • The --meet flag automatically adds a Google Meet link to the event.
[!CAUTION] This is a write command — confirm with the user before executing.

See Also

来自同一仓库

更多 Skills

全部 Skills