asc-cli-usage

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

ASC CLI usage

ASC CLI 使用方法

Use this skill when you need to run or design
asc
commands for App Store Connect.
当你需要为App Store Connect运行或设计
asc
命令时,请使用本技能。

Command discovery

命令发现

  • Always use
    --help
    to discover commands and flags.
    • asc --help
    • asc builds --help
    • asc builds list --help
  • 始终使用
    --help
    来查找命令和参数。
    • asc --help
    • asc builds --help
    • asc builds list --help

Flag conventions

参数约定

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

Output formats

输出格式

  • Default output is minified JSON.
  • Use
    --output table
    or
    --output markdown
    only for human-readable output.
  • --pretty
    is only valid with JSON output.
  • 默认输出为压缩后的JSON格式。
  • 仅在需要人类可读的输出时,使用
    --output table
    --output markdown
  • --pretty
    参数仅在JSON输出时有效。

Authentication and defaults

认证与默认设置

  • Prefer keychain auth via
    asc auth login
    .
  • Fallback env vars:
    ASC_KEY_ID
    ,
    ASC_ISSUER_ID
    ,
    ASC_PRIVATE_KEY_PATH
    ,
    ASC_PRIVATE_KEY
    ,
    ASC_PRIVATE_KEY_B64
    .
  • ASC_APP_ID
    can provide a default app ID.
  • 优先通过
    asc auth login
    使用钥匙串认证。
  • 备选环境变量:
    ASC_KEY_ID
    ASC_ISSUER_ID
    ASC_PRIVATE_KEY_PATH
    ASC_PRIVATE_KEY
    ASC_PRIVATE_KEY_B64
  • ASC_APP_ID
    可设置默认的应用ID。

Timeouts

超时设置

  • ASC_TIMEOUT
    /
    ASC_TIMEOUT_SECONDS
    control request timeouts.
  • ASC_UPLOAD_TIMEOUT
    /
    ASC_UPLOAD_TIMEOUT_SECONDS
    control upload timeouts.
  • ASC_TIMEOUT
    /
    ASC_TIMEOUT_SECONDS
    控制请求超时时间。
  • ASC_UPLOAD_TIMEOUT
    /
    ASC_UPLOAD_TIMEOUT_SECONDS
    控制上传超时时间。