recipe-share-doc-and-notify
от Google
Поделиться документом Google Docs с доступом на редактирование и отправить соавторам ссылку по электронной почте.
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'
Больше skills от Google
gws-modelarmor-sanitize-response
Google
Google Model Armor: Очистка ответа модели с помощью шаблона Model Armor.
gws-people
Google
Google People: Управление контактами и профилями.
gws-shared
Google
gws CLI: Общие шаблоны для аутентификации, глобальных флагов и форматирования вывода.
gws-sheets
Google
Google Sheets: Чтение и запись электронных таблиц.
gws-sheets-append
Google
Google Sheets: Добавить строку в таблицу.
gws-sheets-read
Google
Google Sheets: Чтение значений из электронной таблицы.
gws-slides
Google
Google Slides: Чтение и запись презентаций.
gws-tasks
Google
Google Tasks: Управление списками задач и задачами.