Skip to main content

0.x to 1.x Migration Guide

Version 1.0 of the Appflow CLI has been released, and there are some notable changes, first of which is the rename of the CLI from ionic-cloud to appflow.

Deprecations

Going forward, the default command for the CLI will be appflow instead of ionic-cloud. However, 1.x versions of the Appflow CLI will alias appflow to ionic-cloud, so you can continue to use ionic-cloud.

The installation URL and environment variable for pinning the CLI version are also changing, but will have a fallback for 1.x releases.

export APPFLOW_VERSION=X.X.X; curl -fsSL https://ionic.io/get-appflow-cli | bash

If the CLI was installed locally, the previous installation will need to be removed before executing the previous command.

rm -f /usr/local/bin/ionic-cloud

Breaking Changes

  • The delete build command is being replaced in favor of build cancel.
  • The get build command is being replaced in favor of build get.
    • Note: the artifacts object in the command output has been updated as well.
  • The destination create command is being replaced in favor of live-update create-channel.