Auto-sync: 2026-04-18 12:03

This commit is contained in:
2026-04-18 12:03:11 +08:00
parent 1a82750f1c
commit 7d361490b2
85 changed files with 2857 additions and 7 deletions

View File

@@ -0,0 +1,47 @@
---
title: "GOG-CLI 安装配置指南"
type: source
tags: [gog, gog-cli, macos, google-workspace, oauth]
date: 2026-03-15
---
## Source File
- [[raw/Skills/GOG-CLI-安装配置指南.md]]
## Summary
- 核心主题:在 macOS 系统上安装和配置 gog CLI通过命令行管理 Google WorkspaceGmail、Google Calendar、Google Drive、Google Contacts、Google Docs、Google Sheets
- 问题域Google API 集成、OAuth 认证、CLI 工具配置
- 方法/机制Homebrew 安装、OAuth 凭证配置、Google Cloud Console 设置、API 启用
- 结论/价值:实现 Google 六大服务的命令行化管理,提升自动化效率
## Key Claims
- gog CLI 是管理 Google Workspace 的命令行工具,支持 Gmail、Calendar、Drive、Contacts、Docs、Sheets 六大服务
- OAuth 授权需要两层配置用户身份认证OAuth+ API 服务启用
- Google 未验证应用需要添加测试用户才能授权
## Key Quotes
> "此应用未经 Google 验证" — 首次授权时 Google 的安全限制提示
> "此应用请求访问您 Google 账号中的敏感信息" — OAuth 权限请求说明
## Key Concepts
- [[OAuth]]:开放授权协议,用于第三方应用访问用户 Google 账号
- [[Google-Cloud-Console]]Google 云平台控制台,管理 API 启用和 OAuth 凭证
- [[Gmail-API]]Google 邮件服务编程接口
- [[Calendar-API]]Google 日历服务编程接口
- [[Drive-API]]Google 云端硬盘服务编程接口
- [[API-Enablement]]Google Cloud 中启用特定 API 服务的操作
- [[测试用户]]Google OAuth 中允许未经验证的应用进行测试的账号
## Key Entities
- [[Homebrew]]macOS 包管理器,用于安装 gog CLI
- [[Google]]Google 公司,开发 gog CLI 工具
- [[steipete-tap-gogcli]]gog CLI 的 Homebrew 官方仓库
## Connections
- [[Homebrew]] ← 安装于 ← [[GOG-CLI-安装配置指南]]
- [[Google-Cloud-Console]] ← 创建凭证于 ← [[GOG-CLI-安装配置指南]]
- [[OAuth]] ← 授权机制于 ← [[GOG-CLI-安装配置指南]]
## Contradictions
- (暂无)