diff --git a/resources/help.txt b/resources/help.txt index 043436e8a5..1337e461a2 100644 --- a/resources/help.txt +++ b/resources/help.txt @@ -108,14 +108,20 @@ Lists all platforms that the project currently targets. You can build and deploy --[platform|add]-- Usage: - $ tns platform add [--frameworkPath ] [--symlink] + $ tns platform add [@] [--frameworkPath ] [--symlink] Platform-specific usage: $ tns platform add android [--frameworkPath ] [--symlink] - $ tns platform add ios [--frameworkPath ] [--symlink] + $ tns platform add android[@] [--frameworkPath ] [--symlink] + $ tns platform add ios [--frameworkPath ] [--symlink] + $ tns platform add ios[@] [--frameworkPath ] [--symlink] Configures the current project to target the selected platform. + is any available version of the respective platform runtime published in npm. If @ 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. + 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. @@ -152,11 +158,15 @@ This operation deletes the subdirectory for the selected platform from the platf --[platform|update]-- Usage: - $ tns platform update + $ tns platform update [@] Platform-specific usage: - $ tns platform update android - $ tns platform update ios + $ tns platform update android[@] + $ tns platform update ios[@] + + is any available version of the respective platform runtime published in npm. If @ 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. --[/]--