📱 アプリ
このプラグインのセットアップのためのインストールステップとフルマークダウンガイドを含むコピー可能なセットアップの質問をコピーします。
📱 Capgo アプリの設定と構成を Capgo Cloud で管理します。
➕ 追加
➕ アプリを追加Alias: a
npx @capgo/cli@latest app add➕ 一意のアプリID (com.test.app形式) を持つ新しいアプリを Capgo Cloud に追加します。 すべてのオプションは、指定されていない場合は config から推測できます。
例:
npx @capgo/cli@latest app add com.example.app --name "My App" --icon ./icon.pngオプション:
| パラメーター | タイプ | 説明 |
|---|---|---|
| -n | string | App name for display in Capgo Cloud |
| -i | string | App icon path for display in Capgo Cloud |
| -a | string | APIアカウントにリンクするためのキー |
| —supa-host | string | Custom Supabase host URL (for self-hosting or Capgo development) |
| —supa-anon | string | 自宅サーバー用のカスタムサプアベースアノニマスキー |
🗑️ 削除
「🗑️ 削除」セクションnpx @capgo/cli@latest app delete🗑️ Capgo Cloud からアプリを削除します。バージョンを指定すると、そのバンドルだけを削除できます。
例:
npx @capgo/cli@latest app delete com.example.appオプション:
| パラメーター | 型 | 説明 |
|---|---|---|
| -a | string | API アカウントにリンクするためのキー |
| —サーバーホスト | string | Custom Supabase host URL (for self-hosting or Capgo development) |
| —サーバーアノン | string | 自ホスト用のカスタムサーバーアノンキー |
📋 リスト
「リスト」タイトルのセクションエイリアス: l
npx @capgo/cli@latest app listサーバーをリストする:Capgoで登録されているアカウントの下のすべてのアプリ
例:
npx @capgo/cli@latest app listオプション:
| パラメーター | タイプ | 説明 |
|---|---|---|
| -a | string | APIでアカウントにリンクするためのキー |
| --supa-host | string | 自宅ホスティングまたはCapgo開発用のカスタムスパバースホストURL |
| --supa-anon | string | 自宅ホスティング用のカスタムスパバースアノンキー |
🐞 デバッグ
Section titled “ Debug”npx @capgo/cli@latest app debugListen for live update events in Capgo Cloud to debug your app. Optionally target a specific device for detailed diagnostics.
Example:
npx @capgo/cli@latest app debug com.example.app --device DEVICE_IDOptions:
| Param | Type | Description |
|---|---|---|
| -a | string | API アカウントにリンクするためのキー |
| -d | string | デバッグする特定のデバイスID |
| —supa-host | string | カスタム Supabase ホスト URL (自主ホスティングまたは Capgo 開発用) |
| —supa-anon | string | カスタム Supabase anon キー (自主ホスティング用) |
⚙️ 設定
「⚙️ 設定」というセクションnpx @capgo/cli@latest app setting⚙️ Capacitor の構成をプログラムで変更する。 —string または —bool を指定して設定パス (例: plugins.CapacitorUpdater.defaultChannel) を指定します。
例:
npx @capgo/cli@latest app setting plugins.CapacitorUpdater.defaultChannel --string "Production"オプション:
| パラメーター | タイプ | 説明 |
|---|---|---|
| —bool | string | 設定値を変更するために使用される真値、例: —bool true |
| —string | string | 設定値を変更するために使用される文字列値、例: —string “Production” |
Alias: s
npx @capgo/cli@latest app set⚙️ Capgo Cloudにすでに存在するアプリの設定を更新します。例えば、アプリ名、アイコン、バンドル保持期間など。
Retention of 0 means infinite storage.
npx @capgo/cli@latest app set com.example.app --name "Updated App" --retention 30Copy to clipboard
| Options: | Param | Type |
|---|---|---|
| -n | string | Capgo アプリ名 (表示用) |
| -i | string | Capgo アプリアイコン (png, jpg, webp, svg) のローカルファイルパス |
| -a | string | API アカウントにリンクするためのキー |
| -r | string | 古いバンドルの保持日数 (0 = 無限, default: 0) |
| --expose-metadata | string | プラグインにバンドルメタデータ (リンクとコメント) を公開する (true/false, default: false) |
| --preview | boolean | このアプリのバンドルとチャンネルプレビューQRコードを有効にする |
| —no-preview | boolean | このアプリのバンドルとチャンネルQRコードのプレビューを無効にします。 |
| —allow-device-custom-id | boolean | このアプリにデバイスがカスタムデバイスIDを設定できるようにします。 |
| —no-allow-device-custom-id | boolean | このアプリでデバイスがカスタムデバイスIDを設定できないようにします。 |
| —block-provider-infra-requests | boolean | このアプリでプロバイダーのインフラストラクチャリクエストをブロックします。 |
| —no-block-provider-infra-requests | boolean | このアプリでプロバイダーのインフラストラクチャリクエストを許可します。 |
| —build-timeout-minutes | string | ネイティブビルドのタイムアウト時間(5-360分、デフォルト:15分) |
| —ios-app-store-url | string | このアプリのiOS App Store URL |
| —android-app-store-url | string | このアプリのGoogle Play Store URL |
| —default-upload-channel | string | このアプリのデフォルトアップロードチャンネル名 |
| —default-download-channel | string | このアプリのデフォルトダウンロードチャンネル名 (チャンネルをpublic=trueに設定) |
| —disable-download-channels | boolean | Disable Capgo download channels for this app (sets all channels public=false) |
| —custom-supabase-host | string | Custom Supabase host URL (for self-hosting or Capgo development) |
| —supa-anon | string | 自社ホスティング用のカスタムスパベースアノンキー |