gpd-cli-usage
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseGPD CLI usage
GPD CLI 使用说明
Use this skill when you need to run or design commands for Google Play Developer Console.
gpd当你需要为Google Play Developer Console运行或设计命令时,请使用本技能。
gpdCommand discovery
命令查找
- Always use to confirm commands and flags.
--helpgpd --helpgpd publish --helpgpd monetization --help
- 始终使用来确认命令和参数。
--helpgpd --helpgpd publish --helpgpd monetization --help
Flag conventions
参数约定
- Use explicit long flags (for example: ,
--package,--track).--status - No interactive prompts; destructive operations require .
--confirm - Use when the user wants all pages.
--all
- 使用明确的长参数(例如:、
--package、--track)。--status - 无交互式提示;破坏性操作需要添加参数。
--confirm - 当用户需要所有页面内容时,使用参数。
--all
Output formats
输出格式
- Default output is minified JSON.
- Use for readable JSON during debugging.
--pretty
- 默认输出为压缩后的JSON格式。
- 调试时使用参数以获得易读的JSON格式。
--pretty
Authentication and defaults
认证与默认设置
- Service account auth via is required.
GPD_SERVICE_ACCOUNT_KEY - 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 when available before destructive operations.
--dry-run - Prefer edit lifecycle () for multi-step publishing.
gpd publish edit create
- 在执行破坏性操作前,若支持请使用参数。
--dry-run - 对于多步骤发布流程,优先使用编辑生命周期()。
gpd publish edit create