Skip to content

πŸ“± app

πŸ“± Manage your Capgo app settings and configurations in Capgo Cloud.

βž• Add

Alias: a

Terminal window
npx @capgo/cli@latest app add

βž• Add a new app to Capgo Cloud with a unique app ID in the format com.test.app. 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,stringApp name for display in Capgo Cloud
-i,stringApp icon path for display in Capgo Cloud
-a,stringAPI key to link to your account

πŸ—‘οΈ Delete

Terminal window
npx @capgo/cli@latest app delete

πŸ—‘οΈ Delete an app from Capgo Cloud, optionally specifying a version to delete only that bundle.

Example:

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

Options:

ParamTypeDescription
-a,stringAPI key to link to your account

πŸ“‹ List

Alias: l

Terminal window
npx @capgo/cli@latest app list

πŸ“‹ List all apps registered under your account in Capgo Cloud.

Example:

Terminal window
npx @capgo/cli@latest app list

Options:

ParamTypeDescription
-a,stringAPI key to link to your account

🐞 Debug

Terminal window
npx @capgo/cli@latest app debug

🐞 Listen for live update events in Capgo Cloud to debug your app. Optionally target a specific device for detailed diagnostics.

Example:

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

Options:

ParamTypeDescription
-a,stringAPI key to link to your account
-d,stringThe specific device ID to debug

βš™οΈ Setting

Terminal window
npx @capgo/cli@latest app setting

βš™οΈ Modify Capacitor configuration programmatically by specifying the path to the setting. (e.g., plugins.CapacitorUpdater.defaultChannel). You MUST provide either β€”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”

βš™οΈ Set

Alias: s

Terminal window
npx @capgo/cli@latest app set

βš™οΈ Update settings for an existing app 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,stringApp name for display in Capgo Cloud
-i,stringApp icon path for display in Capgo Cloud
-a,stringAPI key to link to your account
-r,stringRetention period of app bundle in days, 0 by default = infinite