gws-shared

Standardize authentication and output formatting for the gws CLI.

2|1|Updated Jan 31, 2014
One-click install
npx skills add https://github.com/mattforni/homebase --skill gws-shared-mattforni
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gws-shared
Source: https://github.com/mattforni/homebase/tree/main/.claude/skills/gws-shared
Command: npx skills add https://github.com/mattforni/homebase --skill gws-shared-mattforni

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

gws-shared provides standardized authentication patterns, global flags, and output formatting for the gws CLI to ensure consistent behavior across services and projects.

Core Features & Use Cases

  • Standardized authentication flows (auth login) and service account usage for gws.
  • Consistent global flags for output formatting, dry-run, and content sanitization.
  • Clear CLI guidelines, syntax, and safety practices to reduce errors in automation.
  • Use Case: When building scripts that interact with Google Workspace through gws, you can rely on shared patterns to manage auth and display results uniformly.

Quick Start

Run gws auth login to authenticate, then run a service command with --format json to produce structured output.

Frequently Asked Questions about gws-shared

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

FAQPage Schema
How do I standardize Google Workspace CLI authentication and output formatting across multiple automation scripts?

You can standardize Google Workspace CLI authentication and output formatting by applying shared global flags and consistent auth login patterns. This ensures uniform behavior across services, applying filters and formatting results like JSON uniformly.

What is the best way to manage service account authentication for Google Workspace CLI scripts?

The best way to manage service account authentication is using standardized auth login flows designed for the Google Workspace CLI. This approach enforces consistent syntax and safety practices to reduce errors in your automation workflows.

How do I format Google Workspace CLI output to JSON for automation workflows?

You format Google Workspace CLI output to JSON by running a service command with the global flag --format json. This produces structured output, ensuring consistent results across different services and projects.

Does the Google Workspace CLI support dry-run and content sanitization flags for safe automation?

Yes, the Google Workspace CLI supports dry-run and content sanitization through configurable global flags. These flags enforce safety practices and reduce errors when building or maintaining automation workflows.

When do I need global flags for Google Workspace CLI resource listing?

You need global flags for Google Workspace CLI resource listing when you require consistent output formatting, dry-run execution, or content sanitization across multiple services. They provide a uniform CLI syntax for listing resources and applying filters.