Cli recipe-share-event-materials

Share Google Drive files with all attendees of a Google Calendar event.

install
source · Clone the upstream repo
git clone https://github.com/googleworkspace/cli
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/googleworkspace/cli "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/recipe-share-event-materials" ~/.claude/skills/googleworkspace-cli-recipe-share-event-materials && rm -rf "$T"
manifest: skills/recipe-share-event-materials/SKILL.md
source content

Share Files with Meeting Attendees

PREREQUISITE: Load the following skills to execute this recipe:

gws-calendar
,
gws-drive

Share Google Drive files with all attendees of a Google Calendar event.

Steps

  1. Get event attendees:
    gws calendar events get --params '{"calendarId": "primary", "eventId": "EVENT_ID"}'
  2. Share file with each attendee:
    gws drive permissions create --params '{"fileId": "FILE_ID"}' --json '{"role": "reader", "type": "user", "emailAddress": "attendee@company.com"}'
  3. Verify sharing:
    gws drive permissions list --params '{"fileId": "FILE_ID"}' --format table