1
1
--[]--
2
2
3
3
Usage:
4
- $ tns <command> [command parameters] [--command <options>]
4
+ $ tns <command> [command parameters] [--command <options>]
5
5
6
6
General 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.
8
8
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.
16
15
17
16
General 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.
22
21
--[/]--
23
22
24
23
--[help]--
25
24
26
25
Usage:
27
- $ tns help [<Command>]
26
+ $ tns help [<Command>]
28
27
Lists the available commands or shows information about the selected command.
29
28
<Command> is any of the available commands as listed by $ tns help.
30
29
@@ -33,34 +32,39 @@ Lists the available commands or shows information about the selected command.
33
32
--[create]--
34
33
35
34
Usage:
36
- $ tns create <App name> [--path <Directory>] [--appid <App ID>]
35
+ $ tns create <App name> [--path <Directory>] [--appid <App ID>] [--copy-from <Directory >]
37
36
38
37
Creates a new NativeScript project.
39
38
<App name> is the name of project. It should conform to platform package type limitations. For example classes in Java
40
39
don't begin with numbers.
41
40
42
41
Options:
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
44
45
alphanumeric strings, separated by a dot (.). Each string must start with a letter.
45
46
The application identifier corresponds to the Bundle ID for iOS apps and to the package identifier for Android apps.
46
47
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
+
47
51
--[/]--
48
52
49
53
--[platform]--
50
54
51
55
Usage:
52
- $ tns platform <Command>
56
+ $ tns platform <Command>
53
57
54
58
<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
57
61
58
62
--[/]--
59
63
60
64
--[platform|list]--
61
65
62
66
Usage:
63
- $ tns platform
67
+ $ tns platform
64
68
65
69
Lists all available and currently installed platforms.
66
70
@@ -69,11 +73,11 @@ Lists all available and currently installed platforms.
69
73
--[platform|add]--
70
74
71
75
Usage:
72
- $ tns platform add <platform>
76
+ $ tns platform add <platform>
73
77
74
78
Platform-specific usage:
75
- $ tns platform add android
76
- $ tns platform add ios
79
+ $ tns platform add android
80
+ $ tns platform add ios
77
81
78
82
Creates a new platform specific project. In this version of Telerik NativeScript you can create only ios and android projects.
79
83
You 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
82
86
--[prepare]--
83
87
84
88
Usage:
85
- $ tns prepare [<platform>]
89
+ $ tns prepare [<platform>]
86
90
87
91
Platform-specific usage:
88
- $ tns prepare android
89
- $ tns prepare ios
92
+ $ tns prepare android
93
+ $ tns prepare ios
90
94
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.
92
96
93
97
--[/]--
94
98
95
99
--[build]--
96
100
97
101
Usage:
98
- $ tns build [<platform>]
102
+ $ tns build [<platform>]
103
+
104
+ Platform-specific usage:
105
+ $ tns build android
106
+ $ tns build ios
99
107
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.
104
109
105
110
--[/]--
106
111
0 commit comments