ws. Commands: Python ·
TypeScript.
- Python
- TypeScript
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Set up the Google Workspace CLI with Python or TypeScript.
ws. Commands: Python ·
TypeScript.
from mirage.commands.cli.builtin.gws import GWS
from mirage.core.google.config import GoogleConfig
config = GoogleConfig(
client_id="...", client_secret="...", refresh_token="..."
)
ws.register_cli("gws", GWS, config.model_dump())
import { GWS } from '@struktoai/mirage-core'
const config = { clientId: '...', clientSecret: '...', refreshToken: '...' }
ws.registerCli('gws', GWS, config)