Skip to content

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

Merged
merged 1 commit into from
Jul 1, 2015
Merged

Help for install command #596

merged 1 commit into from
Jul 1, 2015

Conversation

Fatme
Copy link
Contributor

@Fatme Fatme commented Jun 26, 2015

No description provided.

@Fatme Fatme added this to the 1.1.2 milestone Jun 26, 2015
@ns-bot
Copy link

ns-bot commented Jun 26, 2015

@Fatme
Copy link
Contributor Author

Fatme commented Jun 26, 2015

@ikoevska

* `--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.
Copy link
Contributor

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.

Copy link
Contributor

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

Copy link
Contributor

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.

@ikoevska
Copy link
Contributor

We need the Related Commands section
Also, this needs to be added in index.md and in the Related Commands sections for the other commands in this directory (e.g. create)

And I'm guessing with need a package.json specification for the project :) and we need to fix the link to the specification.

@Fatme Fatme force-pushed the fatme/help-for-install-command branch from 8527931 to 9259a4e Compare June 29, 2015 09:42
@ns-bot
Copy link

ns-bot commented Jun 29, 2015

@Fatme Fatme force-pushed the fatme/help-for-install-command branch from 9259a4e to 4908516 Compare June 30, 2015 14:14
@ns-bot
Copy link

ns-bot commented Jun 30, 2015

@Fatme Fatme force-pushed the fatme/help-for-install-command branch from 4908516 to 792baec Compare June 30, 2015 14:15
@ns-bot
Copy link

ns-bot commented Jun 30, 2015

---|---
General | `$ tns install [--path]`

Installs all platforms and dependencies described in package.json file.
Copy link
Contributor

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.

Copy link
Contributor

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. <% } %> 

@Fatme Fatme force-pushed the fatme/help-for-install-command branch from 792baec to 7437b83 Compare July 1, 2015 09:16
@ns-bot
Copy link

ns-bot commented Jul 1, 2015

@Fatme Fatme force-pushed the fatme/help-for-install-command branch from 7437b83 to 2fe3c0e Compare July 1, 2015 10:53
@ns-bot
Copy link

ns-bot commented Jul 1, 2015

@ikoevska
Copy link
Contributor

ikoevska commented Jul 1, 2015

👍

@Fatme Fatme force-pushed the fatme/help-for-install-command branch from 2fe3c0e to 9239231 Compare July 1, 2015 11:52
@ns-bot
Copy link

ns-bot commented Jul 1, 2015

Fatme pushed a commit that referenced this pull request Jul 1, 2015
@Fatme Fatme merged commit 938a9c5 into release Jul 1, 2015
@Fatme Fatme deleted the fatme/help-for-install-command branch July 1, 2015 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants