11--[]--
22
33Usage:
4- $ tns <command> [command parameters] [--command <options>]
4+ $ tns <command> [command parameters] [--command <options>]
55
66General commands:
7- help <command> Shows additional information about the commands in this list.
7+ help <command> Shows additional information about the commands in this list.
88
9- create Creates a new NativeScript project with given project name and packageName.
10- platform add Creates a new platform specific project.
11- platform list Lists all available and all installed platforms.
12- prepare Copies files for specified platforms, or all platforms, so that the project
13- is ready to build in each SDK.
14- build Builds the project for the selected target platform and produces an application package.
15- run This is shorthand for prepare and build.
9+ create Creates a new NativeScript project with given project name and application identifier.
10+ platform add Creates a new platform specific project.
11+ platform list Lists all available and all installed platforms.
12+ prepare Copies files for specified platform, so that the project is ready to build in platform specific SDK.
13+ build Builds the project for the selected target platform and produces an application package.
14+ run This is shorthand for prepare and build.
1615
1716General options:
18- --help Prints help about the selected command.
19- --path <Directory> Specifies the directory that contains the project. If not set, the project is searched for
20- in the current directory and all directories above it.
21- --version Prints the client version.
17+ --help Prints help about the selected command.
18+ --path <Directory> Specifies the directory that contains the project. If not set, the project is searched for
19+ in the current directory and all directories above it.
20+ --version Prints the client version.
2221--[/]--
2322
2423--[help]--
2524
2625Usage:
27- $ tns help [<Command>]
26+ $ tns help [<Command>]
2827Lists the available commands or shows information about the selected command.
2928<Command> is any of the available commands as listed by $ tns help.
3029
@@ -33,34 +32,39 @@ Lists the available commands or shows information about the selected command.
3332--[create]--
3433
3534Usage:
36- $ tns create <App name> [--path <Directory>] [--appid <App ID>]
35+ $ tns create <App name> [--path <Directory>] [--appid <App ID>] [--copy-from <Directory >]
3736
3837Creates a new NativeScript project.
3938<App name> is the name of project. It should conform to platform package type limitations. For example classes in Java
4039don't begin with numbers.
4140
4241Options:
43- --appid - Sets the application identifier for your project. The application identifier must consist of at least three
42+ --path - Specifies the directory where you want to create the project, if different from the current directory.
43+ The directory must be empty.
44+ --appid - Sets the application identifier for your project. The application identifier must consist of at least three
4445 alphanumeric strings, separated by a dot (.). Each string must start with a letter.
4546 The application identifier corresponds to the Bundle ID for iOS apps and to the package identifier for Android apps.
4647 If not specified, the application identifier is set to com.telerik.<App name>.
48+ --copy-from - Specifies the directory where your javascript files are located. If not set,
49+ the default hello world template is used.
50+
4751--[/]--
4852
4953--[platform]--
5054
5155Usage:
52- $ tns platform <Command>
56+ $ tns platform <Command>
5357
5458<Command> is a related command that extends the platform command. You can run the following related commands:
55- list - Lists all available and installed platforms.
56- add - Creates a new platform specific project
59+ list - Lists all available and installed platforms.
60+ add - Creates a new platform specific project
5761
5862--[/]--
5963
6064--[platform|list]--
6165
6266Usage:
63- $ tns platform
67+ $ tns platform
6468
6569Lists all available and currently installed platforms.
6670
@@ -69,11 +73,11 @@ Lists all available and currently installed platforms.
6973--[platform|add]--
7074
7175Usage:
72- $ tns platform add <platform>
76+ $ tns platform add <platform>
7377
7478Platform-specific usage:
75- $ tns platform add android
76- $ tns platform add ios
79+ $ tns platform add android
80+ $ tns platform add ios
7781
7882Creates a new platform specific project. In this version of Telerik NativeScript you can create only ios and android projects.
7983You can create Android projects on windows and Mac machine. You can create ios projects only on Mac machine.
@@ -82,25 +86,26 @@ You can create Android projects on windows and Mac machine. You can create ios p
8286--[prepare]--
8387
8488Usage:
85- $ tns prepare [<platform>]
89+ $ tns prepare [<platform>]
8690
8791Platform-specific usage:
88- $ tns prepare android
89- $ tns prepare ios
92+ $ tns prepare android
93+ $ tns prepare ios
9094
91- Copies files for specified platforms, or all platforms , so that the project is ready to build in each SDK.
95+ Copies files for specified platform , so that the project is ready to build in each SDK.
9296
9397--[/]--
9498
9599--[build]--
96100
97101Usage:
98- $ tns build [<platform>]
102+ $ tns build [<platform>]
103+
104+ Platform-specific usage:
105+ $ tns build android
106+ $ tns build ios
99107
100- Builds the project for specified platforms, or all platforms. This generates platform-specific code within the project's
101- platforms subdirectory. You can optionally limit the scope of each build to specific platforms:
102- $ tns build android
103- $ tns build ios
108+ Builds the project for specified platform. This generates platform-specific code within the project's platforms subdirectory.
104109
105110--[/]--
106111
0 commit comments