📱 アプリ
このプラグインのインストール手順とフルマークダウンガイドを含む設定プロンプトをコピーできます。
📱 Capgo アプリの設定と構成を管理し、Capgo Cloudで管理します。
➕ 追加
➕ アプリを追加Alias: a
npx @capgo/cli@latest app add➕ Capgo Cloud に一意のアプリ ID (com.test.app の形式) を持つ新しいアプリを追加します。 すべてのオプションは、指定されていない場合、config から推測できます。
例:
npx @capgo/cli@latest app add com.example.app --name "My App" --icon ./icon.pngオプション:
| パラメーター | タイプ | 説明 |
|---|---|---|
| -n | string | 表示用Capgo Cloudのアプリ名 |
| -i | string | 表示用Capgo Cloudのアプリアイコンパス |
| -a | string | APIアカウントにリンクするためのキー |
| —supa-host | string | Custom Supabase host URL (for self-hosting or Capgo development) |
| —supa-anon | string | 自宅ホスティング用のカスタムSupabase anonキー |
🗑️ 削除
「🗑️ 削除」セクションのタイトルnpx @capgo/cli@latest app delete🗑️ Capgo Cloud からアプリを削除します。バージョンを指定すると、そのバンドルだけを削除できます。
例:
npx @capgo/cli@latest app delete com.example.appオプション:
| パラメーター | タイプ | 説明 |
|---|---|---|
| __CAPGO_KEEP_0__ アカウントにリンクするためのキー | string | API key to link to your account |
| —サーバーホスト | string | Custom Supabase host URL (for self-hosting or Capgo development) |
| —サーバーアノン | string | 自宅サーバー用のカスタム Supabase アノン キー |
📋 リスト
「リスト」セクションエイリアス: l
npx @capgo/cli@latest app list📋 List all apps registered under your account in Capgo Cloud.
例:
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にすでに存在するアプリの設定を更新する、例えば名前、アイコン、またはバンドルの保持期間など。 保持期間が0の場合、無限のストレージになります。
Example:
npx @capgo/cli@latest app set com.example.app --name "Updated App" --retention 30Options:
| 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-store-url | string | このアプリのiOS App Store URL |
| —android-store-url | string | このアプリのGoogle Play Store URL |
| —default-upload-channel | string | このアプリのデフォルトアップロードチャンネル名 |
| —default-download-channel | string | このアプリのデフォルトダウンロードチャンネル名 (チャンネルをpublic=trueに設定) |
| —disable-download-channels | boolean | このアプリのダウンロードチャンネルをCapgoに設定 (すべてのチャンネルをpublic=falseに設定) |
| —supa-host | string | カスタムSupabaseホストURL (自社ホスティングまたはCapgo開発用) |
| —supa-anon | string | 自社ホスティング用のカスタムスパベースアノンキー |