{"enrichment":{"faq":[{"a":"gws-shared documents the core authentication methods and global flags for the gws CLI. Authentication options include browser-based OAuth login and service account setup. Global flags control output formatting (JSON, table, YAML, CSV), API response handling, dry-run validation, and pagination behavior. These flags apply across all gws commands and enable you to customize how results are displayed and processed.","q":"What are gws CLI authentication and global flags?"},{"a":"gws-shared covers both authentication approaches. OAuth uses browser-based login for interactive sessions, while service account authentication uses credentials stored in environment variables or configuration files. The guide explains credential management, environment variable setup, and best practices for securing credentials. Choose OAuth for interactive use and service accounts for automated workflows or CI/CD pipelines.","q":"How do I set up OAuth or service account authentication in gws?"},{"a":"gws-shared explains output formatting options through global flags that let you choose between JSON, table, YAML, and CSV formats. These flags control how API responses are displayed and parsed. You can apply formatting globally across commands or override it per-command. The guide covers API response handling to ensure your chosen format matches your downstream processing needs.","q":"How can I configure gws output formatting (JSON, table, YAML, CSV)?"},{"a":"gws-shared describes the dry-run option as a validation mechanism that simulates command execution without making destructive changes. Use dry-run flags to preview operations, test pagination settings, and confirm parameter syntax before applying them. This is especially useful for validating complex queries, file uploads, and API calls that modify data.","q":"What does gws dry run validation do and how do I use it?"},{"a":"gws-shared provides guidance on shell quoting, history expansion handling (especially in zsh), and PII screening practices. It covers proper parameter escaping to prevent injection attacks, credential protection strategies, and safe handling of sensitive data in command-line arguments. The guide emphasizes shell tips to avoid common mistakes when constructing gws commands with special characters.","q":"What security best practices and shell escaping techniques does gws-shared cover?"},{"a":"gws-shared explains pagination with auto-paginate settings, page delay limits, and result limits for handling large datasets. File upload options cover multipart uploads and parameter handling. Method-specific options vary by command but are documented with examples. The guide shows how to combine these features for efficient API interactions and bulk operations.","q":"How do pagination, file upload, and method-specific options work in gws?"}],"shadow_tags":["cli-reference","oauth-setup","output-formatting","api-patterns","shell-scripting","security-practices","pagination-control","credential-management","dry-run-testing","data-sanitization"],"summary_rewrite":"gws-shared is a reference guide for the gws CLI's core patterns: browser-based OAuth and service account authentication, global flags for output formatting and API validation, and method-specific options for pagination and file handling. It covers essential syntax, shell quoting tips, and security practices for working with Google Workspace APIs."},"files":[{"bytes":2668,"path":"skills/gws-shared/SKILL.md","sha256":"87abfb41cdcc300b7f2f733d1558a8af8d3c2a7cca1512f9eba244965fad98b2","url":"https://skillfed.io/files/googleworkspace/cli/gws-shared/e4be88d1/SKILL.md"}],"id":"googleworkspace/cli/gws-shared","links":{"html":"https://skillfed.io/googleworkspace/cli/gws-shared","md":"https://skillfed.io/googleworkspace/cli/gws-shared.md","repo":"https://github.com/googleworkspace/cli"},"meta":{"agents_supported":[],"first_seen":"2026-07-28","forks":1753,"language":"Rust","last_updated":"2026-07-22","license":"Apache-2.0","name":"gws-shared","publisher":"googleworkspace","stars":30031},"relations":{"similar":[{"id":"googleworkspace/cli/gws-sheets-read"},{"id":"hoodini/ai-agents-skills/google-workspace-cli"},{"id":"googleworkspace/cli/gws-sheets-append"},{"id":"glebis/claude-skills/gws"},{"id":"graniet/kheish/google-workspace"},{"id":"Open-Curiosity/gini-agent/google-sheets"},{"id":"googleworkspace/cli/gws-modelarmor-sanitize-response"},{"id":"googleworkspace/cli/gws-modelarmor-sanitize-prompt"},{"id":"googleworkspace/cli/recipe-create-expense-tracker"},{"id":"googleworkspace/cli/gws-modelarmor"}]},"slug":{"owner":"googleworkspace","repo":"cli","skill":"gws-shared"},"version":"e4be88d1"}
