Release Notes
Minor Changes
-
247e27a: Add structured exit codes for scriptable error handling
gwsnow exits with a type-specific code instead of always using1:Code Meaning 0Success 1API error — Google returned a 4xx/5xx response 2Auth error — credentials missing, expired, or invalid 3Validation error — bad arguments, unknown service, invalid flag 4Discovery error — could not fetch the API schema document 5Internal error — unexpected failure Exit codes are documented in
gws --helpand in the README.
Patch Changes
- 087066f: Fix
gws auth loginencrypted credential persistence by enabling native keyring backends for thekeyringcrate on supported desktop platforms instead of silently falling back to the in-memory mock store.
Install gws 0.12.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/googleworkspace/cli/releases/download/v0.12.0/gws-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/googleworkspace/cli/releases/download/v0.12.0/gws-installer.ps1 | iex"Install prebuilt binaries into your npm project
npm install @googleworkspace/cli@0.12.0Download gws 0.12.0
| 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.zip | 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 |
| gws-x86_64-unknown-linux-musl.tar.gz | x64 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/cliYou 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>