recipe-share-folder-with-team
Share a Google Drive folder and all its contents with a list of collaborators.
Install
npx skills add https://github.com/googleworkspace/cli --skill recipe-share-folder-with-teamSKILL.md
Share 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": "colleague@company.com"}' - Share as viewer:
gws drive permissions create --params '{"fileId": "FOLDER_ID"}' --json '{"role": "reader", "type": "user", "emailAddress": "stakeholder@company.com"}' - Verify permissions:
gws drive permissions list --params '{"fileId": "FOLDER_ID"}' --format table
Related skills
grill-memattpocock1.2MA relentless interview to sharpen a plan or design.grill-with-docsmattpocock1.1MA relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.triagemattpocock854KMove issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.grillingmattpocock792KGrill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or uses any 'grill' trigger phrases.