You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/man_pages/project/creation/create.md
+9-1
Original file line number
Diff line number
Diff line change
@@ -16,4 +16,12 @@ Creates a new project for native development with NativeScript from the default
16
16
*`<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.
17
17
For projects that target iOS, you can use uppercase or lowercase letters, numbers, and hyphens.<% } %>
18
18
*`<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
+
[init](init.html) | Initializes a project for development. The command prompts you to provide your project configuration interactively and uses the information to create a new package.json file or update the existing one.
General | `$ tns init [--path <Directory>] [--force]`
7
+
8
+
Initializes a project for development. The command prompts you to provide your project configuration interactively and uses the information to create a new package.json file or update the existing one.
9
+
10
+
### Options
11
+
*`--path` - Specifies the directory where you want to initialize the project, if different from the current directory. The directory must be empty.
12
+
*`--force` - If set, applies the default project configuration and does not show the interactive prompt. The default project configuration targets the latest official runtimes and sets org.nativescript.<folder_name> for application identifier.
13
+
14
+
<% if(isHtml) { %>
15
+
### Related Commands
16
+
17
+
Command | Description
18
+
----------|----------
19
+
[create](create.html) | Creates a new project for native development with NativeScript from the default template or from an existing NativeScript project.
this.$fs.writeJson(this.projectFilePath,projectData).wait();// We need to create package.json file here in order to prevent "No project found at or above and neither was a --path specified." when resolving platformsData
0 commit comments