-
-
Notifications
You must be signed in to change notification settings - Fork 197
Help for install command #596
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
✅ |
* `--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. | ||
|
||
### Attributes | ||
* `<Path To Package.json File>` is the path to package.json file or directory that contains 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 file is not specified, NativeScript CLI searches for package.json in current directory. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The link is to our plugin specification, not to package.json one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a `package.json` file
both instances in the first sentence
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if the path to `package.json` is not specified, the NativeScript CLI searches for `package.json` in the current directory.
We need the Related Commands section And I'm guessing with need a package.json specification for the project :) and we need to fix the link to the specification. |
8527931
to
9259a4e
Compare
✅ |
9259a4e
to
4908516
Compare
✅ |
4908516
to
792baec
Compare
✅ |
---|--- | ||
General | `$ tns install [--path]` | ||
|
||
Installs all platforms and dependencies described in package.json file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the `package.json` file in the current directory.
Apply this comment to the descriptions of the command that appear in index.md and the affected related commands.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And add the following fragment to the description.
<% if(isHtml) { %> The `package.json` file must be a valid `package.json` describing the configuration of a NativeScript project. If missing or corrupted, you can recreate the file by running `tns init` in the directory of a NativeScript project. <% } %>
792baec
to
7437b83
Compare
✅ |
7437b83
to
2fe3c0e
Compare
✅ |
👍 |
2fe3c0e
to
9239231
Compare
✅ |
No description provided.