gws-shared

Standardize authentication, global flags, and output formatting for the gws CLI.

312|38|Updated Mar 4, 2026
One-click install
npx skills add https://github.com/m13v/fazm --skill gws-shared-m13v
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gws-shared
Source: https://github.com/m13v/fazm/tree/main/skills/gws-shared
Command: npx skills add https://github.com/m13v/fazm --skill gws-shared-m13v

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides shared utilities for the gws CLI, simplifying authentication, managing global flags, and ensuring consistent output formatting for Google Workspace operations.

Core Features & Use Cases

  • Streamlined Authentication: Supports both interactive browser-based OAuth and service account authentication.
  • Global Flags: Offers flags for controlling output format, enabling dry runs, and sanitizing responses.
  • CLI Syntax Assistance: Provides clear guidance on command structure and available method flags for interacting with Google Workspace services.
  • Use Case: When interacting with Google Drive via the gws CLI, you can use the --format json flag to ensure all responses are consistently returned in JSON format, making them easy to parse programmatically.

Quick Start

Authenticate to Google Workspace services using your browser by running the gws auth login command.

Frequently Asked Questions about gws-shared

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I authenticate to Google Workspace services from the command line?

To authenticate to Google Workspace services, run `gws auth login` for interactive browser-based OAuth, or configure service account authentication for non-interactive programmatic access.

Can I format Google Workspace CLI output as JSON for scripting?

Yes, you can format Google Workspace CLI output as JSON by passing the `--format json` global flag, ensuring responses are consistently structured for easy programmatic parsing.

What is the gws CLI tool used for in Google Workspace automation?

The gws CLI tool provides shared patterns for authentication, global flags, and output formatting to facilitate programmatic interaction and automation of Google Workspace services.

Do I need to install any dependencies to use Google Workspace CLI utilities?

Yes, you need the `gws` binary installed and available in your system's PATH to use these Google Workspace CLI utilities for command-line interaction.

Does the Google Workspace CLI support dry runs and response sanitization?

Yes, the Google Workspace CLI supports global flags for enabling dry runs to preview operations and sanitizing responses to clean output data before processing.

When should I use service account authentication instead of browser OAuth for Google Workspace?

Use service account authentication instead of browser OAuth for Google Workspace when running non-interactive automated scripts or server-side operations without a browser environment.