1.3 KiB
1.3 KiB
title, type, tags, date
| title | type | tags | date | ||||
|---|---|---|---|---|---|---|---|
| GOG CLI安装配置指南 | source |
|
2026-03-15 |
Source File
Summary
- 核心主题:macOS安装配置gog CLI管理Google Workspace
- 问题域:Gmail/Calendar/Drive/Contacts/Docs/Sheets命令行管理
- 方法/机制:Homebrew安装 → OAuth凭证配置 → API启用 → 代理访问
- 结论/价值:完整的gog CLI配置手册,需要代理才能直连Google API
Key Claims
- 安装:brew install steipete/tap/gogcli
- 凭证:Google Cloud Console创建OAuth客户端ID,下载credentials.json到~/Library/Application Support/gogcli/
- 测试用户:Google Cloud添加测试用户ishenwei@gmail.com避免"应用未经Google验证"错误
- API启用:Gmail API等需要在Google Cloud Console手动Enable
- 代理:必须设置HTTPS_PROXY=socks5h://127.0.0.1:10808
- 默认账号:export GOG_ACCOUNT=ishenwei@gmail.com
Key Concepts
- GoogleWorkspaceCLI:gog命令行工具
- OAuth认证:Google API身份验证
- 代理配置:gog必须走代理
Key Entities
Connections
- GOG-CLI安装配置指南 ← documents GoogleWorkspaceCLI
Contradictions
- 无冲突