Skip to content

Commit 9259a4e

Browse files
Fatme Havaluovarosen-vladimirov
Fatme Havaluova
authored andcommitted
Help for install command
1 parent 4b8342a commit 9259a4e

File tree

2 files changed

+32
-1
lines changed

2 files changed

+32
-1
lines changed

docs/man_pages/project/creation/create.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,12 @@ Creates a new project for native development with NativeScript from the default
1616
* `<App Name>` is the name of project. The specified name must meet the requirements of all platforms that you want to target. <% if(isConsole) { %>For more information about the `<App Name>` requirements, run `$ tns help create`<% } %><% if(isHtml) { %>For projects that target Android, you can use uppercase or lowercase letters, numbers, and underscores. The name must start with a letter.
1717
For projects that target iOS, you can use uppercase or lowercase letters, numbers, and hyphens.<% } %>
1818
* `<App ID>` is the application identifier for your project. It must be a domain name in reverse and must meet the requirements of all platforms that you want to target. If not specified, the application identifier is set to `org.nativescript.<App name>` <% if(isConsole) { %>For more information about the `<App ID>` requirements, run `$ tns help create`<% } %><% if(isHtml) { %>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`
19-
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`.<% } %>
19+
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`.<% } %>
20+
21+
<% if(isHtml) { %>
22+
### Related Commands
23+
24+
Command | Description
25+
----------|----------
26+
[install](install.html) | Creates and prepares a NativeScript project from the specified package.json file.]
27+
<% } %>
+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
install
2+
==========
3+
4+
Usage | Synopsis
5+
---|---
6+
General | `$ tns install [<Path To Package.json File>] [--path] [--copy-from]`
7+
8+
Creates and prepares a NativeScript project from the specified package.json file using the default template or using an existing NativeScript project.
9+
10+
### Options
11+
* `--path` - Specifies the directory where you want to create the project, if different from the current directory. The directory must be empty.
12+
* `--copy-from` - Specifies a directory which contains an existing NativeScript project. If not set, the NativeScript CLI creates the project from the default hello-world template.
13+
14+
### Attributes
15+
* `<Path To Package.json File>` is the path to a package.json file or directory that contains a package.json file. <% if(isConsole) { %>For more information about the `package.json` specification, see https://github.com/NativeScript/nativescript-cli/blob/master/PLUGINS.md#packagejson-specification<% } %>. If the path to `package.json` is not specified, the NativeScript CLI searches for `package.json` in the current directory.
16+
17+
<% if(isHtml) { %>
18+
### Related Commands
19+
20+
Command | Description
21+
----------|----------
22+
[create](create.html) | Creates a new project for native development with NativeScript from the default template or from an existing NativeScript project.]
23+
<% } %>

0 commit comments

Comments
 (0)