github googleworkspace/cli v0.4.3
0.4.3

latest release: v0.4.4
2 hours ago

Release Notes

Patch Changes

  • fc6bc95: Exclude Workspace-admin-only scopes from the "Recommended" scope preset.

    Scopes that require Google Workspace domain-admin access (apps.*,
    cloud-identity.*, ediscovery, directory.readonly, groups) now return
    400 invalid_scope when used by personal @gmail.com accounts. These scopes
    are no longer included in the "Recommended" template, preventing login failures
    for non-Workspace users.

    Workspace admins can still select these scopes manually via the "Full Access"
    template or by picking them individually in the scope picker.

    Adds a new is_workspace_admin_scope() helper (mirroring the existing
    is_app_only_scope()) that centralises this detection logic.

  • 2aa6084: docs: Comprehensive README overhaul addressing user feedback.

    Added a Prerequisites section prior to the Quick Start to highlight the optional gcloud dependency.
    Expanded the Authentication section with a decision matrix to help users choose the correct authentication path.
    Added prominent warnings about OAuth "testing mode" limitations (the 25-scope cap) and the strict requirement to explicitly add the authorizing account as a "Test user" (#130).
    Added a dedicated Troubleshooting section detailing fixes for common OAuth consent errors, "Access blocked" issues, and redirect_uri_mismatch failures.
    Included shell escaping examples for Google Sheets A1 notation (!).
    Clarified the npm installation rationale and added explicit links to pre-built native binaries on GitHub Releases.

Install gws 0.4.3

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/googleworkspace/cli/releases/download/v0.4.3/gws-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://github.com/googleworkspace/cli/releases/download/v0.4.3/gws-installer.ps1 | iex"

Install prebuilt binaries into your npm project

npm install @googleworkspace/cli@0.4.3

Download gws 0.4.3

File Platform Checksum
gws-aarch64-apple-darwin.tar.gz Apple Silicon macOS checksum
gws-x86_64-apple-darwin.tar.gz Intel macOS checksum
gws-x86_64-pc-windows-msvc.tar.gz x64 Windows checksum
gws-aarch64-unknown-linux-gnu.tar.gz ARM64 Linux checksum
gws-x86_64-unknown-linux-gnu.tar.gz x64 Linux checksum
gws-aarch64-unknown-linux-musl.tar.gz ARM64 MUSL Linux checksum

Verifying GitHub Artifact Attestations

The artifacts in this release have attestations generated with GitHub Artifact Attestations. These can be verified by using the GitHub CLI:

gh attestation verify <file-path of downloaded artifact> --repo googleworkspace/cli

You can also download the attestation from GitHub and verify against that directly:

gh attestation verify <file-path of downloaded artifact> --bundle <file-path of downloaded attestation>

Don't miss a new cli release

NewReleases is sending notifications on new releases.