Passer au contenu

📱 Application

📱 Manage your Capgo Application Paramètres and configurations in Capgo Cloud.

Alias: a

Terminal window
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:

Terminal window
npx @capgo/cli@latest app add com.example.app --name "My App" --icon ./icon.png

Options:

ParamTypeDescription
-n,stringApplication name for display in Capgo Cloud
-i,stringApplication icon path for display in Capgo Cloud
-a,stringClé API to link to your Compte
—supa-hoststringCustom Supabase host URL (for self-hosting or Capgo Développement)
—supa-anonstringCustom Supabase anon key (for self-hosting)
Terminal window
npx @capgo/cli@latest app delete

🗑️ Supprimer an Application from Capgo Cloud, optionally specifying a Version to Supprimer only that Bundle.

Example:

Terminal window
npx @capgo/cli@latest app delete com.example.app

Options:

ParamTypeDescription
-a,stringClé API to link to your Compte
—supa-hoststringCustom Supabase host URL (for self-hosting or Capgo Développement)
—supa-anonstringCustom Supabase anon key (for self-hosting)

Alias: l

Terminal window
npx @capgo/cli@latest app list

📋 List all apps registered under your Compte in Capgo Cloud.

Example:

Terminal window
npx @capgo/cli@latest app list

Options:

ParamTypeDescription
-a,stringClé API to link to your Compte
—supa-hoststringCustom Supabase host URL (for self-hosting or Capgo Développement)
—supa-anonstringCustom Supabase anon key (for self-hosting)
Terminal window
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:

Terminal window
npx @capgo/cli@latest app debug com.example.app --device DEVICE_ID

Options:

ParamTypeDescription
-a,stringClé API to link to your Compte
-d,stringThe specific Appareil ID to Débogage
—supa-hoststringCustom Supabase host URL (for self-hosting or Capgo Développement)
—supa-anonstringCustom Supabase anon key (for self-hosting)
Terminal window
npx @capgo/cli@latest app setting

⚙️ Modify Capacitor Configuration programmatically. Specify setting path (e.g., plugins.CapacitorUpdater.defaultChannel) with —string or —bool.

Example:

Terminal window
npx @capgo/cli@latest app setting plugins.CapacitorUpdater.defaultChannel --string "Production"

Options:

ParamTypeDescription
—boolstringA value for the setting to modify as a boolean, ex: —bool true
—stringstringA value for the setting to modify as a string, ex: —string “Production”

Alias: s

Terminal window
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:

Terminal window
npx @capgo/cli@latest app set com.example.app --name "Updated App" --retention 30

Options:

ParamTypeDescription
-n,stringApplication name for display in Capgo Cloud
-i,stringApplication icon path for display in Capgo Cloud
-a,stringClé API to link to your Compte
-r,stringDays to keep old Bundles (0 = infinite, default: 0)
—supa-hoststringCustom Supabase host URL (for self-hosting or Capgo Développement)
—supa-anonstringCustom Supabase anon key (for self-hosting)