📱 Application
📱 Manage your Capgo Application Paramètres and configurations in Capgo Cloud.
➕ Ajouter
Section titled “ ➕ Ajouter”Alias: a
npx @capgo/cli@latest app add➕ Ajouter a Nouveau Application to Capgo Cloud with a unique Application ID in the format com.Test.Application. All Options can be guessed from config if not provided.
Example:
npx @capgo/cli@latest app add com.example.app --name "My App" --icon ./icon.pngOptions:
| Param | Type | Description |
|---|---|---|
| -n, | string | Application name for display in Capgo Cloud |
| -i, | string | Application icon path for display in Capgo Cloud |
| -a, | string | Clé API to link to your Compte |
| —supa-host | string | Custom Supabase host URL (for self-hosting or Capgo Développement) |
| —supa-anon | string | Custom Supabase anon key (for self-hosting) |
🗑️ Supprimer
Section titled “ 🗑️ Supprimer”npx @capgo/cli@latest app delete🗑️ Supprimer an Application from Capgo Cloud, optionally specifying a Version to Supprimer only that Bundle.
Example:
npx @capgo/cli@latest app delete com.example.appOptions:
| Param | Type | Description |
|---|---|---|
| -a, | string | Clé API to link to your Compte |
| —supa-host | string | Custom Supabase host URL (for self-hosting or Capgo Développement) |
| —supa-anon | string | Custom Supabase anon key (for self-hosting) |
📋 List
Section titled “ 📋 List”Alias: l
npx @capgo/cli@latest app list📋 List all apps registered under your Compte in Capgo Cloud.
Example:
npx @capgo/cli@latest app listOptions:
| Param | Type | Description |
|---|---|---|
| -a, | string | Clé API to link to your Compte |
| —supa-host | string | Custom Supabase host URL (for self-hosting or Capgo Développement) |
| —supa-anon | string | Custom Supabase anon key (for self-hosting) |
🐞 Débogage
Section titled “ 🐞 Débogage”npx @capgo/cli@latest app debug🐞 Listen for live Mise à jour events in Capgo Cloud to Débogage your Application. Optionally target a specific Appareil for detailed diagnostics.
Example:
npx @capgo/cli@latest app debug com.example.app --device DEVICE_IDOptions:
| Param | Type | Description |
|---|---|---|
| -a, | string | Clé API to link to your Compte |
| -d, | string | The specific Appareil ID to Débogage |
| —supa-host | string | Custom Supabase host URL (for self-hosting or Capgo Développement) |
| —supa-anon | string | Custom Supabase anon key (for self-hosting) |
⚙️ Setting
Section titled “ ⚙️ Setting”npx @capgo/cli@latest app setting⚙️ Modify Capacitor Configuration programmatically. Specify setting path (e.g., plugins.CapacitorUpdater.defaultChannel) with —string or —bool.
Example:
npx @capgo/cli@latest app setting plugins.CapacitorUpdater.defaultChannel --string "Production"Options:
| Param | Type | Description |
|---|---|---|
| —bool | string | A value for the setting to modify as a boolean, ex: —bool true |
| —string | string | A value for the setting to modify as a string, ex: —string “Production” |
⚙️ Set
Section titled “ ⚙️ Set”Alias: s
npx @capgo/cli@latest app set⚙️ Mise à jour Paramètres for an existing Application in Capgo Cloud, such as name, icon, or retention period for Bundles. Retention of 0 means infinite storage.
Example:
npx @capgo/cli@latest app set com.example.app --name "Updated App" --retention 30Options:
| Param | Type | Description |
|---|---|---|
| -n, | string | Application name for display in Capgo Cloud |
| -i, | string | Application icon path for display in Capgo Cloud |
| -a, | string | Clé API to link to your Compte |
| -r, | string | Days to keep old Bundles (0 = infinite, default: 0) |
| —supa-host | string | Custom Supabase host URL (for self-hosting or Capgo Développement) |
| —supa-anon | string | Custom Supabase anon key (for self-hosting) |