Skip to content

Commit afa9338

Browse files
author
Iva Koevska
committed
Refining
1 parent a8fbb3e commit afa9338

File tree

1 file changed

+29
-22
lines changed

1 file changed

+29
-22
lines changed

resources/help.txt

Lines changed: 29 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@ General commands:
88

99
create Creates a new project for native development with NativeScript.
1010
platform add Configures the current project to target the selected platform.
11-
platform list Lists all target platforms for the current project.
12-
platform remove Removes the platform specific project.
11+
platform list Lists all platforms that the project currently targets.
12+
platform remove Removes the selected platform from the platforms that the project currently targets.
13+
This operation deletes all platform-specific files and subdirectories from your project.
1314
prepare Copies cross-platform content to the subdirectory for the selected target platform.
14-
This lets you build the project with the SDK for the selected platform.
15+
This lets you build the project with the SDK for the selected platform and deploy it on device.
1516
build Builds the project for the selected target platform and produces an application package.
1617
run Runs your project on a connected device. This is shorthand for prepare, build, and deploy.
1718

@@ -37,17 +38,18 @@ Lists the available commands or shows information about the selected command.
3738
Usage:
3839
$ tns create <App name> [--path <Directory>] [--appid <App ID>] [--copy-from <Directory>]
3940

40-
Creates a new NativeScript project.
41-
<App name> is the name of project. The specified name must comply with the limitations of the target platform.
42-
For example, the name of a project that targets Android must not begin with a number because classes in Java
43-
cannot begin with numbers.
41+
Creates a new project for native development with NativeScript.
42+
<App name> is the name of project. The specified name must meet the requirements of all platforms that you want to target.
43+
For projects that target Android, you can use uppercase or lowercase letters, numbers, and underscores. The name must start with a letter.
44+
For projects that target iOS, you can use uppercase or lowercase letters, numbers, and hyphens.
4445

4546
Options:
4647
--path - Specifies the directory where you want to create the project, if different from the current directory.
4748
The directory must be empty.
48-
--appid - Sets the application identifier for your project. The application identifier must consist of at least three
49-
alphanumeric strings, separated by a dot (.). Each string must start with a letter.
50-
The application identifier corresponds to the Bundle ID for iOS apps and to the package identifier for Android apps.
49+
--appid - Sets the application identifier for your project. The application identifier must be a domain name in reverse and must
50+
meet the requirements of all platforms that you want to target.
51+
For projects that target Android, you can use uppercase or lowercase letters, numbers, and underscores in the strings of the reversed domain name, separated by a dot. Strings must be separated by a dot and must start with a letter. For example: com.nativescript.My_Andro1d_App
52+
For projects that target iOS, you can use uppercase or lowercase letters, numbers, and hyphens in the strings of the reversed domain name. Strings must be separated by a dot. For example: com.nativescript.My-i0s-App
5153
If not specified, the application identifier is set to com.telerik.<App name>.
5254
--copy-from - Specifies a directory which contains custom assets that you want to use in your NativeScript project. If not set,
5355
the default hello-world template is used.
@@ -62,9 +64,13 @@ Usage:
6264
You must run the platform command with a related command.
6365

6466
<Command> is a related command that extends the platform command. You can run the following related commands:
65-
list - Lists all target platforms for the current project.
66-
add - Configures the current project to target the selected platform.
67-
remove - Removes the deployment capabilities of a project for the specified platform
67+
list - Lists all platforms that the project currently targets. You can build and deploy your project only for
68+
the active target platforms.
69+
add - Configures the current project to target the selected platform. After adding the target platform, you can
70+
build and deploy your app to it.
71+
remove - Removes the selected platform from the platforms that the project currently targets. After removing
72+
the target platform, you can no longer build and deploy your app to it.
73+
This operation deletes all platform-specific files and subdirectories from your project.
6874

6975
--[/]--
7076

@@ -73,7 +79,7 @@ You must run the platform command with a related command.
7379
Usage:
7480
$ tns platform list
7581

76-
Lists all target platforms for the current project.
82+
Lists all platforms that the project currently targets. You can build and deploy your project only for the active target platforms.
7783

7884
--[/]--
7985

@@ -86,14 +92,13 @@ Platform-specific usage:
8692
$ tns platform add android
8793
$ tns platform add ios
8894

89-
Configures the current project to target the selected platform. In this version of Telerik NativeScript,
90-
you can target iOS and Android, based on your system. You need to have your system configured for development with the target
91-
platform.
95+
Configures the current project to target the selected platform. When you add a target platform, the Telerik 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.
96+
97+
In this version of Telerik NativeScript, you can target iOS and Android, based on your system. You need to have your system configured for development with the target platform.
9298
On Windows systems, you can target Android.
9399
On OS X systems, you can target Android and iOS.
94100

95-
When you add a target platform, the Telerik NativeScript CLI adds a corresponding platform-specific subdirectory under the platforms
96-
directory. This platform-specific directory contains the necessary files to let you build your project for the target platform.
101+
97102
--[/]--
98103

99104
--[platform|remove]--
@@ -105,7 +110,9 @@ Platform-specific usage:
105110
$ tns platform remove android
106111
$ tns platform remove ios
107112

108-
Removes the deployment capabilities of a project for the specified platform.
113+
Removes the selected platform from the platforms that the project currently targets. After removing the target platform, you can no longer build and deploy your app to it.
114+
115+
This operation deletes all platform-specific files and subdirectories from your project.
109116

110117
--[/]--
111118

@@ -132,7 +139,7 @@ Platform-specific usage:
132139
$ tns build android
133140
$ tns build ios
134141

135-
Builds the project for the selected target platform. This generates platform-specific code within the platforms subdirectory
142+
Builds the project for the selected target platform. This generates platform-specific code within the platform subdirectory
136143
in the project.
137144

138145
--[/]--
@@ -146,7 +153,7 @@ Platform-specific usage:
146153
$ tns run android
147154
$ tns run ios
148155

149-
This is shorthand for prepare and build.
156+
Runs your project on a connected device. This is shorthand for prepare, build, and deploy.
150157

151158
--[/]--
152159

0 commit comments

Comments
 (0)