Bringing Huawei App Management to the Terminal: Introducing agc-cli
Description and use
agc-cli consolidates Huawei AppGallery Connect operations into a single CLI, simplifying repetitive tasks and enabling automation via scripts.
Problem
Managing Huawei apps via AppGallery Connect requires manual endpoint handling, authentication, and request construction, disrupting development workflows.
Outcome
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.
Workflow
- 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
Evidence
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
- Record date: 2026-10-07T01:41:12.338Z