$ ionic link

Connect your local app to Ionic

Synopsis

$ ionic link [<app_id>]

Details

If you have an app on Ionic, you can link it to this local Ionic project with this command.

Excluding the app_id argument looks up your apps on Ionic and prompts you to select one.

This command simply sets the app_id property in ionic.config.json for other commands to read.

Input Description
app_id The ID of the app to link (e.g. a1b2c3d4)
Option Description
--name The app name to use during the linking of a new app

Examples

$ ionic link 
$ ionic link a1b2c3d4

API

Native

General