Skip to content

Commit 34f5efd

Browse files
authored
removed --copy-from from help (#2537)
1 parent a5dc39e commit 34f5efd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/man_pages/project/creation/create.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,15 @@ Usage | Synopsis
66
Create from default JavaScript template | `$ tns create <App Name> [--path <Directory>] [--appid <App ID>]`
77
Create from default TypeScript template | `$ tns create <App Name> --template typescript [--path <Directory>] [--appid <App ID>]` OR `$ tns create <App Name> --tsc [--path <Directory>] [--appid <App ID>]` OR `$ tns create <App Name> --template tsc [--path <Directory>] [--appid <App ID>]`
88
Create from default Angular template | `$ tns create <App Name> --template angular [--path <Directory>] [--appid <App ID>]` OR `$ tns create <App Name> --template ng [--path <Directory>] [--appid <App ID>]` OR `$ tns create <App Name> --ng [--path <Directory>] [--appid <App ID>]`
9-
Copy from existing project | `$ tns create <App Name> [--path <Directory>] [--appid <App ID>] --copy-from <Directory>`
9+
Copy from existing project | `$ tns create <App Name> [--path <Directory>] [--appid <App ID>]`
1010
Create from custom template | `$ tns create <App Name> [--path <Directory>] [--appid <App ID>] --template <Template>`
1111

1212
Creates a new project for native development with NativeScript.
1313

1414
### Options
1515
* `--path` - Specifies the directory where you want to create the project, if different from the current directory. The directory must be empty.
1616
* `--appid` - Sets the application identifier for your project.
17-
* `--copy-from` - Specifies a directory which contains an existing NativeScript project. If `--copy-from` and `--template` are not set, the NativeScript CLI creates the project from the default JavaScript hello-world template.
18-
* `--template` - Specifies a valid npm package which you want to use to create your project. If `--copy-from` and `--template` are not set, the NativeScript CLI creates the project from the default JavaScript hello-world template.<% if(isHtml) { %> If one or more application assets are missing from the `App_Resources` directory in the package, the CLI adds them using the assets available in the default hello-world template.<% } %>
17+
* `--template` - Specifies a valid npm package which you want to use to create your project. If `--template` is not set, the NativeScript CLI creates the project from the default JavaScript hello-world template.<% if(isHtml) { %> If one or more application assets are missing from the `App_Resources` directory in the package, the CLI adds them using the assets available in the default hello-world template.<% } %>
1918
* `--ng` - Sets the template for your project to the Angular template.
2019
* `--tsc` - Sets the template for your project to the TypeScript template.
2120

0 commit comments

Comments
 (0)