HotCodePush

Commands

The 30 commands of the hotcodepush CLI by task, from setting a project up through shipping an update to running the organization, one line each.

Every command is a noun and a verb, channel create, release rollback, or a bare word like init and login. One page per noun holds its verbs with their options and examples, and a bare command has its own page. The sidebar lists them alphabetically after init and doctor. The tables below group them by what you are doing.

Every command takes the global options, prints one JSON document under --json and exits with the codes on the errors page. In a pipeline HOTCODEPUSH_TOKEN replaces login.

Set up a project

The first day: sign in, wire the project and check it.

CommandDoes
initSet a project up from sign-in to the first release, re-runnable at any step.
doctorCheck the project's configuration, wiring, signing key, hosts and versions.
appcreate, get, list, update, delete and transfer apps.
completionPrint the completion script for bash, fish or zsh.
loginLog in by approving a one-time code in the browser. --api-url points the CLI at another API.
logoutEnd the stored session and remove its token.
openOpen the app's console page in the browser, or a channel's.
whoamiPrint the user you are logged in as and their organizations.

Ship updates

The release path, from the build to the devices that take it, and the build step's own commands.

CommandDoes
audienceget the devices a release would reach before it exists.
binarycreate a binary in the store build step, and list and get store builds.
bundleupload, get, list and delete bundles.
channelcreate, get, list, update, delete, pause and resume channels.
fingerprintPrint the project's native fingerprint, and diff two of them.
releasecreate, get, list, update, rollout, pause, resume, revoke and rollback releases.
resource-filewrite the resource file in every build that is no store build.
signing-keycreate, add, list and delete signing keys.

Watch devices

What the fleet runs and why one device did not update.

CommandDoes
devicelist, get and delete devices, and probe why one did not update.
statisticsget the fleet, updates or usage statistics of an app.

Run the organization

Members, sign-in, billing and the records of what happened.

CommandDoes
audit-loglist the organization's audit log, filtered by type, actor, app and time.
checkoutcreate the checkout that enables billing on a free organization.
customer-portal-sessioncreate a session of the portal with the invoices and the payment method.
invitationcreate, accept, list and delete invitations.
limitget one limit or list every limit in effect, with its default and override.
memberlist, get, update and delete members, and transfer the ownership.
organizationcreate, get, list, update and delete organizations, and set the spending cap.
sso-providerset, get, verify and delete the OIDC or SAML provider.
usageget a month's monthly active devices and data transfer, and list them per app.

Connect other systems

What leaves HotCodePush for your own tools.

CommandDoes
telemetry-exportset, get, update, test and delete the OpenTelemetry export.
telemetry-export-deliverylist the export's deliveries and redeliver one.
webhookcreate, get, list, update, delete and test webhooks.
webhook-deliverylist a webhook's deliveries and redeliver one.

Last updated on

On this page