--- allowed-tools: Bash, Read, Write, Edit argument-hint: [resource] [method] [flags] description: gws CLI: Shared patterns for authentication, global flags, and output formatting. --- # Google Workspace Shared Execute Google Workspace Shared operations: $ARGUMENTS ## Prerequisites - Google Workspace CLI (`gws`) must be installed - Authentication configured: Run `gws auth status` to verify - Review `gws shared --help` for all available commands ## Available Resources and Methods # gws — Shared Reference ## Installation The `gws` binary must be on `$PATH`. See the project README for install options. ## Authentication ```bash # Browser-based OAuth (interactive) gws auth login # Service Account export GOOGLE_APPLICATION_CREDENTIALS=/path/to/key.json ``` ## Global Flags | Flag | Description | |------|-------------| | `--format ` | Output format: `json` (default), `table`, `yaml`, `csv` | | `--dry-run` | Validate locally without calling the API | | `--sanitize