recipe-share-folder-with-team
tarafından Google
Bir Google Drive klasörünü ve tüm içeriğini bir işbirlikçi listesiyle paylaşır.
npx skills add https://github.com/googleworkspace/cli --skill recipe-share-folder-with-teamShare a Google Drive Folder with a Team
PREREQUISITE: Load the following skills to execute this recipe:
gws-drive
Share a Google Drive folder and all its contents with a list of collaborators.
Steps
- Find the folder:
gws drive files list --params '{"q": "name = '\''Project X'\'' and mimeType = '\''application/vnd.google-apps.folder'\''"}' - Share as editor:
gws drive permissions create --params '{"fileId": "FOLDER_ID"}' --json '{"role": "writer", "type": "user", "emailAddress": "[email protected]"}' - Share as viewer:
gws drive permissions create --params '{"fileId": "FOLDER_ID"}' --json '{"role": "reader", "type": "user", "emailAddress": "[email protected]"}' - Verify permissions:
gws drive permissions list --params '{"fileId": "FOLDER_ID"}' --format table
Google tarafından daha fazla skill
gws-modelarmor-sanitize-response
Google
Google Model Armor: Bir model yanıtını Model Armor şablonu aracılığıyla temizleyin.
gws-people
Google
Google People: Manage contacts and profiles.
gws-shared
Google
gws CLI: Shared patterns for authentication, global flags, and output formatting.
gws-sheets
Google
Google Sheets: Elektronik tabloları okuyun ve yazın.
gws-sheets-append
Google
Google Sheets: Bir e-tabloya satır ekleyin.
gws-sheets-read
Google
Google Sheets: Bir e-tablodan değerleri okuyun.
gws-slides
Google
Google Slides: Sunumları okuyup yazın.
gws-tasks
Google
Google Tasks: Görev listelerini ve görevleri yönetin.