app
The app
command lets you manage your CodePushGo apps.
add
npx @codepushgo/cli app add [appId]
Adds a new app to your CodePushGo account.
[appId]
is your app ID in the format com.example.app
. See the React Native docs for more info.
💡 All options will be guessed from your
capacitor.config.json
if not provided.
Options:
--icon [path]
: Path to a custom icon to display in the CodePushGo web app--name [name]
: Custom name to display in the app list--apikey [key]
: API key to link to your account--retention [days]
: Retention period for app bundles in days (default: 0 = infinite)
set
npx @codepushgo/cli app set [appId]
Updates an existing app in your CodePushGo account.
Options:
--icon [path]
: Path to a custom icon to display in the CodePushGo web app--name [name]
: Custom name to display in the app list--retention [days]
: Retention period for app bundles in days (default: 0 = infinite)--apikey [key]
: API key to link to your account
list
npx @codepushgo/cli app list [appId]
Lists all apps in your CodePushGo account.
Options:
--apikey [key]
: API key to link to your account
delete
npx @codepushgo/cli app delete [appId]
Deletes an app from your CodePushGo account.
Options:
--apikey [key]
: API key to link to your account--bundle
: Delete only a specific bundle version
debug
npx @codepushgo/cli app debug [appId]
Displays debug information for an app.
Options:
--apikey [key]
: API key to link to your account--device
: Debug a specific device
setting
npx @codepushgo/cli app setting [path]
Edits the React Native config for an app.
[path]
is the path to the setting you want to change (e.g., appId
or plugins.React NativeUpdater.autoUpdate
).
You must provide either --string
or --bool
:
--string <value>
: Set the setting to a string value--bool <true|false>
: Set the setting to a boolean value