Bringing Huawei App Management to the Terminal: Introducing agc-cli
说明与用途
agc-cli 将华为 AppGallery Connect 的操作整合为单一 CLI,简化重复任务并支持脚本化自动化。
问题
Managing Huawei apps via AppGallery Connect requires manual endpoint handling, authentication, and request construction, disrupting development workflows.
结果
agc-cli streamlines Huawei app management by consolidating API calls into a single CLI, reducing manual setup, enabling scriptable workflows, and supporting AI agent integration.
工作流
- Install agc-cli via Homebrew, Scoop, or binaries
- Authenticate with Service Account JSON using
agc auth login - Initialize project with
agc initto bind app ID and default profile - Use
agc publishing app-info-query(or other commands) to query app data - Optionally set
--dry-run=falseto execute requests - Save responses with
--outfor further processing - Create scripts to loop over languages or accounts, reusing commands
- Integrate with AI agents or local REST via
agc web-server
证据
agc-cli provides a unified CLI with grouped commands, credential profiles, and reusable scripts
Install with Homebrew: brew tap createitv/tap brew install agc-cli agc version
agc auth login --service-account-file ~/.agc/service-account.json --name production
agc publishing app-info-query --invoke --query appId=YOUR_APP_ID --query lang=en-US --pretty
- 记录日期: 2026-10-07T01:41:12.338Z