Skip to content

Commit 295b405

Browse files
committed
Basic help.txt
1 parent dcf1745 commit 295b405

File tree

2 files changed

+107
-1
lines changed

2 files changed

+107
-1
lines changed

lib/common

resources/help.txt

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
--[]--
2+
3+
Usage:
4+
$ tns <command> [command parameters] [--command <options>]
5+
6+
General commands:
7+
help <command> Shows additional information about the commands in this list.
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.
16+
17+
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.
22+
--[/]--
23+
24+
--[help]--
25+
26+
Usage:
27+
$ tns help [<Command>]
28+
Lists the available commands or shows information about the selected command.
29+
<Command> is any of the available commands as listed by $ tns help.
30+
31+
--[/]--
32+
33+
--[create]--
34+
35+
Usage:
36+
$ tns create <App name> [--path <Directory>] [--appid <App ID>]
37+
38+
Creates a new NativeScript project.
39+
<App name> is the name of project. It should conform to platform package type limitations. For example classes in Java
40+
don't begin with numbers.
41+
42+
Options:
43+
--appid - Sets the application identifier for your project. The application identifier must consist of at least three
44+
alphanumeric strings, separated by a dot (.). Each string must start with a letter.
45+
The application identifier corresponds to the Bundle ID for iOS apps and to the package identifier for Android apps.
46+
If not specified, the application identifier is set to com.telerik.<App name>.
47+
--[/]--
48+
49+
--[platform]--
50+
51+
Usage:
52+
$ tns platform <Command>
53+
54+
<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
57+
58+
--[/]--
59+
60+
--[platform|list]--
61+
62+
Usage:
63+
$ tns platform
64+
65+
Lists all available and currently installed platforms.
66+
67+
--[/]--
68+
69+
--[platform|add]--
70+
71+
Usage:
72+
$ tns platform add <platform>
73+
74+
Platform-specific usage:
75+
$ tns platform add android
76+
$ tns platform add ios
77+
78+
Creates a new platform specific project. In this version of Telerik NativeScript you can create only ios and android projects.
79+
You can create Android projects on windows and Mac machine. You can create ios projects only on Mac machine.
80+
--[/]--
81+
82+
--[prepare]--
83+
84+
Usage:
85+
$ tns prepare [<platform>]
86+
87+
Platform-specific usage:
88+
$ tns prepare android
89+
$ tns prepare ios
90+
91+
Copies files for specified platforms, or all platforms, so that the project is ready to build in each SDK.
92+
93+
--[/]--
94+
95+
--[build]--
96+
97+
Usage:
98+
$ tns build [<platform>]
99+
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
104+
105+
--[/]--
106+

0 commit comments

Comments
 (0)