Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Bringing Huawei App Management to the Terminal: Introducing agc-cli

Описание и применение

agc-cli объединяет операции управления приложениями Huawei в единый 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 init to bind app ID and default profile
  • Use agc publishing app-info-query (or other commands) to query app data
  • Optionally set --dry-run=false to execute requests
  • Save responses with --out for 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