asc-id-resolver について
asc-id-resolverは、他のコマンドで必要なApp Store ConnectのリソースIDをasc CLIで特定する方法を案内するスキルです。アプリ、ビルド、バージョン、デジタル商品、TestFlightを対象とし、一覧取得や出力形式も扱います。
主な機能
- 01アプリIDとビルドIDの検索
- 02バージョンとデジタル商品のID解決
- 03TestFlightと審査IDの検索
- 04ページネーションと決定的な並べ替えの推奨
- 05端末表示と自動化向け出力の案内
活用シーン
- 01名前からアプリIDを検索
- 02バージョンやアップロード用ビルドの特定
- 03サブスクリプションとIAPのバージョンID解決
- 04TestFlightグループIDの検索
インストール
コマンドをコピーしてターミナルで実行します。
$
npx skills add https:/ / github.com/ rorkai/ app-store-connect-cli-skills --skill asc-id-resolverインストール後、Claude Code で/asc-id-resolverを入力して読み込まれたか確認します。
詳細
asc id resolver
他のコマンドで必要となる ID に名前を対応付けるには、このスキルを使用します。
App ID
- バンドル ID または名前で検索:
asc apps list --bundle-id "com.example.app"asc apps list --name "My App"
- すべて取得:
asc apps list --paginate
- デフォルトを設定:
ASC_APP_ID=...
Build ID
- 最新のビルド:
asc builds info --app "APP_ID" --latest --version "1.2.3" --platform IOS
- 最近のビルド:
asc builds list --app "APP_ID" --sort -uploadedDate --limit 5
- 添付または提出時は検索を省略できます:
asc versions attach-buildとasc review submitは、--app、--version、--build-number "45"を受け付けます。
Version ID
asc versions list --app "APP_ID" --paginate
デジタル商品のバージョン ID
API 4.4.1 のバージョン ID は、IAP の商品 ID、サブスクリプション ID、および サブスクリプショングループ ID とは異なります。
まず、所有するリソースを解決します:
- IAP:
asc iap list --app "APP_ID" --paginate --output json - サブスクリプショングループ:
asc subscriptions groups list --app "APP_ID" --paginate --output json - サブスクリプション:
asc subscriptions list --app "APP_ID" --paginate --output jsonまたはasc subscriptions list --group-id "GROUP_ID" --paginate --output json
次に、それらのバージョン ID を解決します:
- IAP のバージョン:
asc iap versions list --iap-id "IAP_ID" --paginate --output json - サブスクリプションのバージョン:
asc subscriptions versions list --subscription-id "SUB_ID" --paginate --output json - サブスクリプショングループのバージョン:
asc subscriptions groups versions list --group-id "GROUP_ID" --paginate --output json
対応するバージョンのサブツリーから、子のローカライズまたは画像 ID を解決します:
- IAP のローカライズ:
asc iap versions localizations list --version-id "VERSION_ID" --paginate --output json - IAP のプライマリ画像:
asc iap versions image --version-id "VERSION_ID" --output json - IAP の画像コレクション:
asc iap versions images list --version-id "VERSION_ID" --paginate --output json - サブスクリプションのローカライズ:
asc subscriptions versions localizations list --version-id "VERSION_ID" --paginate --output json - サブスクリプションのプライマリ画像:
asc subscriptions versions images primary --version-id "VERSION_ID" --output json - サブスクリプションの画像コレクション:
asc subscriptions versions images list --version-id "VERSION_ID" --paginate --output json - サブスクリプショングループのローカライズ:
asc subscriptions groups versions localizations list --version-id "VERSION_ID" --paginate --output json
TestFlight ID
- グループ:
asc testflight groups list --app "APP_ID" --paginate
- テスター:
asc testflight testers list --app "APP_ID" --paginate
プレリリースバージョン ID
asc testflight pre-release list --app "APP_ID" --platform IOS --paginate
審査提出 ID
asc review submissions list --app "APP_ID" --paginate
出力のヒント
- 出力のデフォルトは TTY を認識します:ターミナルではテーブル、パイプまたは
CI では圧縮 JSON になります。明示的な
--outputが優先されます。 - 自動化には明示的に
--output jsonを使用し、人が読みやすい JSON が必要な場合のみ--prettyを追加します。 - 人が確認する場合は、
--output tableまたは--output markdownを使用します。
ガードレール
- ID の見落としを防ぐため、一覧表示コマンドでは
--paginateを優先して使用します。 - 結果を決定的にするため、利用可能な場合は
--sortを使用します。
コメント
Markdown 対応