recipe-share-doc-and-notify
oleh Google
Share a Google Docs document with edit access and email collaborators the link.
npx skills add https://github.com/googleworkspace/cli --skill recipe-share-doc-and-notifyShare a Google Doc and Notify Collaborators
PREREQUISITE: Load the following skills to execute this recipe:
gws-drive,gws-docs,gws-gmail
Share a Google Docs document with edit access and email collaborators the link.
Steps
- Find the doc:
gws drive files list --params '{"q": "name contains '\''Project Brief'\'' and mimeType = '\''application/vnd.google-apps.document'\''"}' - Share with editor access:
gws drive permissions create --params '{"fileId": "DOC_ID"}' --json '{"role": "writer", "type": "user", "emailAddress": "[email protected]"}' - Email the link:
gws gmail +send --to [email protected] --subject 'Please review: Project Brief' --body 'I have shared the project brief with you: https://docs.google.com/document/d/DOC_ID'
Lebih banyak skill dari Google
gws-modelarmor-sanitize-response
Google
Google Model Armor: Membersihkan respons model melalui template Model Armor.
gws-people
Google
Kelola kontak dan profil.
gws-shared
Google
CLI gws: Pola bersama untuk autentikasi, flag global, dan format keluaran.
gws-sheets
Google
Google Sheets: Membaca dan menulis spreadsheet.
gws-sheets-append
Google
Google Sheets: Menambahkan baris ke spreadsheet.
gws-sheets-read
Google
Google Sheets: Membaca nilai dari spreadsheet.
gws-slides
Google
Google Slides: Membaca dan menulis presentasi.
gws-tasks
Google
Google Tasks: Kelola daftar tugas dan tugas.