📱 app
📱 Manage your Capgo app settings and configurations in Capgo Cloud.
➕ Add
Alias: a
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:
npx @capgo/cli@latest app add com.example.app --name "My App" --icon ./icon.png
Options:
Param | Type | Description |
---|---|---|
-n, | string | App name for display in Capgo Cloud |
-i, | string | App icon path for display in Capgo Cloud |
-a, | string | API key to link to your account |
—supa-host | string | Supabase host URL for custom setups |
—supa-anon | string | Supabase anon token for custom setups |
🗑️ Delete
npx @capgo/cli@latest app delete
🗑️ Delete an app from Capgo Cloud, optionally specifying a version to delete only that bundle.
Example:
npx @capgo/cli@latest app delete com.example.app
Options:
Param | Type | Description |
---|---|---|
-a, | string | API key to link to your account |
—supa-host | string | Supabase host URL for custom setups |
—supa-anon | string | Supabase anon token for custom setups |
📋 List
Alias: l
npx @capgo/cli@latest app list
📋 List all apps registered under your account in Capgo Cloud.
Example:
npx @capgo/cli@latest app list
Options:
Param | Type | Description |
---|---|---|
-a, | string | API key to link to your account |
—supa-host | string | Supabase host URL for custom setups |
—supa-anon | string | Supabase anon token for custom setups |
🐞 Debug
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:
npx @capgo/cli@latest app debug com.example.app --device DEVICE_ID
Options:
Param | Type | Description |
---|---|---|
-a, | string | API key to link to your account |
-d, | string | The specific device ID to debug |
—supa-host | string | Supabase host URL for custom setups |
—supa-anon | string | Supabase anon token for custom setups |
⚙️ Setting
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:
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
Alias: s
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:
npx @capgo/cli@latest app set com.example.app --name "Updated App" --retention 30
Options:
Param | Type | Description |
---|---|---|
-n, | string | App name for display in Capgo Cloud |
-i, | string | App icon path for display in Capgo Cloud |
-a, | string | API key to link to your account |
-r, | string | Retention period of app bundle in days, 0 by default = infinite |
—supa-host | string | Supabase host URL for custom setups |
—supa-anon | string | Supabase anon token for custom setups |