Description
gws-shared is the shared foundation for the gws command-line tool. It covers OAuth and service account authentication, global output flags and the common request patterns used by all Google Workspace services in the CLI. The page says it defines how commands are structured, how pagination works, how files are uploaded, and how responses are screened through Model Armor. Defining these settings once means you do not have to re-learn or re-implement them for each Workspace service you automate. Example jobs from the page are switching output between JSON, CSV and table formats for different scripts, running a destructive command with --dry-run before the API call is made, authenticating with a service account key file instead of browser-based OAuth, and auto-paginating through large result sets. It is the place to start when you first set up gws, since it explains the flags and auth options the service-specific skills depend on. Install it with npx skills add https://github.com/googleworkspace/cli --skill gws-shared. Google Workspace publishes it in the cli repository on GitHub, and the page labels it official.…
Highlights
- OAuth and service account authentication
- JSON, CSV and table output formats
- Dry-run flag for destructive commands
- Auto-pagination for large results
- Shared request patterns across services
Ratings & Reviews
No ratings yet
Be the first to rate googleworkspace/gws-shared.
People also visit
googleworkspace/gws-shared FAQ
What is gws-shared?
The shared base for the gws CLI, covering authentication, output flags and common request patterns.
How do I install it?
Run npx skills add https://github.com/googleworkspace/cli --skill gws-shared.
Can I use a service account?
Yes. The page says it supports authenticating with a service account key file instead of browser OAuth.
How do I test a command safely?
The page mentions running a destructive command with --dry-run before committing to the API call.
Who publishes it?
Google Workspace, in the cli repository on GitHub. The page labels it official.
What are the best googleworkspace/gws-shared alternatives?
Popular alternatives to googleworkspace/gws-shared include gws-shared, gws-shared and gog. See all googleworkspace/gws-shared alternatives







