Skip to content

Help for experimental versions #336

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 17, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 15 additions & 5 deletions resources/help.txt
Original file line number Diff line number Diff line change
Expand Up @@ -108,14 +108,20 @@ Lists all platforms that the project currently targets. You can build and deploy
--[platform|add]--

Usage:
$ tns platform add <Platform> [--frameworkPath <File Path>] [--symlink]
$ tns platform add <Platform>[@<Version>] [--frameworkPath <File Path>] [--symlink]

Platform-specific usage:
$ tns platform add android [--frameworkPath <File Path>] [--symlink]
$ tns platform add ios [--frameworkPath <File Path>] [--symlink]
$ tns platform add android[@<Version>] [--frameworkPath <File Path>] [--symlink]
$ tns platform add ios [--frameworkPath <File Path>] [--symlink]
$ tns platform add ios[@<Version>] [--frameworkPath <File Path>] [--symlink]

Configures the current project to target the selected platform.

<Version> is any available version of the respective platform runtime published in npm. If @<Version> is not specified, the NativeScript CLI installs the latest stable runtime for the selected platform.
To list all available versions for android, run $ npm view tns-android versions. To list only experimental versions for android, run $ npm view tns-android dist-tags.
To list all available versions for ios, run $ npm view tns-ios versions. To list only experimental versions for ios, run $ npm view tns-ios dist-tags.

<File Path> is the complete path to a valid npm package or a directory that contains a NativeScript runtime for the selected platform.

When you add a target platform, the NativeScript CLI adds a corresponding platform-specific subdirectory under the platforms directory. This platform-specific directory contains the necessary files to let you build your project for the target platform.
Expand Down Expand Up @@ -152,11 +158,15 @@ This operation deletes the subdirectory for the selected platform from the platf
--[platform|update]--

Usage:
$ tns platform update <Platform>
$ tns platform update <Platform>[@<Version>]

Platform-specific usage:
$ tns platform update android
$ tns platform update ios
$ tns platform update android[@<Version>]
$ tns platform update ios[@<Version>]

<Version> is any available version of the respective platform runtime published in npm. If @<Version> is not specified, the NativeScript CLI installs the latest stable runtime for the selected platform.
To list all available versions for android, run $ npm view tns-android versions. To list only experimental versions for android, run $ npm view tns-android dist-tags.
To list all available versions for ios, run $ npm view tns-ios versions. To list only experimental versions for ios, run $ npm view tns-ios dist-tags.

Updates the NativeScript runtime for the specified platform.
--[/]--
Expand Down