gws) reads a separate Discovery document for each service, so one CLI session can use all three.
Prerequisites
Installjq, curl, and gws, then authenticate the Arga CLI:
1
Provision the Google service twins
Provision only the services your workflow calls. This example includes Drive metadata and both editor APIs.
2
Install each Discovery document
Create an isolated
gws configuration directory and cache each provisioned service’s Discovery document.gws now generates its normal Drive, Docs, and Sheets commands from the three twin Discovery documents. Do not run gws auth login; the twin token provides authentication.3
Access the matching preset resources
The default Drive metadata includes the same stable Docs and Sheets IDs exposed by the editor twins.Open
$ARGA_DOCS_URL or $ARGA_SHEETS_URL in your browser to inspect and edit each twin through its UI. UI edits update the same service-local state as that twin’s API.4
End the twin run
The twins share preset resource IDs and a compatible access token, but they do not share mutable runtime state. A document edit changes the Docs twin only. A spreadsheet edit changes the Sheets twin only. Drive keeps its own metadata and preset content.

