用途:这是 Google Business Profile 的 Printing Press CLI,通过 google-business-profile-pp-cli 二进制管理 API 资源,并可将数据归档到本地 SQLite,便于快速搜索、分组分析和发布验证,适合需要反复读取与可审计的操作场景。
主要能力:覆盖 accounts、attributes、categories、chains、locations、my-business 系列(位置、住宿、通知、问答、验证、place action link)等命令;提供本地工作流:workflow archive 建立本地归档、workflow status 查看同步新鲜度、search 用 FTS5 本地检索、analytics 按字段分组统计、tail 轮询输出 NDJSON 变更事件。
使用方式:先安装并验证 CLI。安装命令:npx -y @mvanhorn/printing-press-library install google-business-profile --cli-only;验证:google-business-profile-pp-cli --version。若 npx 失败,可用 Go 1.26.6+ 直接安装:go install github.com/mvanhorn/printing-press-library/library/marketing/google-business-profile/cmd/google-business-profile-pp-cli@latest。使用 OAuth2 登录:google-business-profile-pp-cli login,并用 doctor 检查配置。任意命令可加 --agent(等价 --json --compact --no-input --no-color --yes),支持 --select、--dry-run、--deliver file:/webhook: 等。
适用场景:位置清单盘点、按 storeCode 等字段分组统计、本地搜索位置线索、近实时监控位置活动、代理自动化调用。
限制:需先成功安装并验证二进制,否则不应继续执行技能命令;本地归档可能过期,需用 workflow status 判断可信度;--idempotent 与 --ignore-missing 仅在特定语义下使用;反馈默认仅本地保存。其他收费、平台与效果信息暂未提供。