gpd-cli-usage

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

GPD CLI usage

GPD CLI 使用说明

Use this skill when you need to run or design
gpd
commands for Google Play Developer Console.
当你需要为Google Play Developer Console运行或设计
gpd
命令时,请使用本技能。

Command discovery

命令查找

  • Always use
    --help
    to confirm commands and flags.
    • gpd --help
    • gpd publish --help
    • gpd monetization --help
  • 始终使用
    --help
    来确认命令和参数。
    • gpd --help
    • gpd publish --help
    • gpd monetization --help

Flag conventions

参数约定

  • Use explicit long flags (for example:
    --package
    ,
    --track
    ,
    --status
    ).
  • No interactive prompts; destructive operations require
    --confirm
    .
  • Use
    --all
    when the user wants all pages.
  • 使用明确的长参数(例如:
    --package
    --track
    --status
    )。
  • 无交互式提示;破坏性操作需要添加
    --confirm
    参数。
  • 当用户需要所有页面内容时,使用
    --all
    参数。

Output formats

输出格式

  • Default output is minified JSON.
  • Use
    --pretty
    for readable JSON during debugging.
  • 默认输出为压缩后的JSON格式。
  • 调试时使用
    --pretty
    参数以获得易读的JSON格式。

Authentication and defaults

认证与默认设置

  • Service account auth via
    GPD_SERVICE_ACCOUNT_KEY
    is required.
  • Validate access for a package:
    • gpd auth check --package com.example.app
  • 必须通过
    GPD_SERVICE_ACCOUNT_KEY
    进行服务账号认证。
  • 验证某个应用包的访问权限:
    • gpd auth check --package com.example.app

Safety

安全注意事项

  • Use
    --dry-run
    when available before destructive operations.
  • Prefer edit lifecycle (
    gpd publish edit create
    ) for multi-step publishing.
  • 在执行破坏性操作前,若支持请使用
    --dry-run
    参数。
  • 对于多步骤发布流程,优先使用编辑生命周期(
    gpd publish edit create
    )。