Skip to content

Commit 18d7772

Browse files
committed
Help for plugin commands
1 parent 646d557 commit 18d7772

File tree

3 files changed

+72
-0
lines changed

3 files changed

+72
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
plugin add
2+
==========
3+
4+
Usage | Synopsis
5+
------|-------
6+
General | `$ tns plugin add <Plugin>`
7+
8+
Installs a plugin and any packages that it depends on. <% if(isHtml) { %>Install the plugin in the local node_modules folder and prepare the plugin for all installed platforms. Also the plugin is saved in dependencies section in package.json file.<% } %>
9+
10+
### Attributes
11+
12+
* `<Plugin>` can be:
13+
* a name that is published on the npm registry.
14+
* a name@version that is published on the npm registry with specified version.
15+
* a path to local folder containing a program described by a package.json file.
16+
* a gzipped tarball containing a folder with a package.json file inside it.
17+
* a url that resolves to a gzipped tarball.
18+
* a git remote url that resolves to a gzipped tarball.
19+
20+
### Related Commands
21+
22+
Command | Description
23+
----------|----------
24+
[library](library.html) | You must run the library command with a related command.
25+
[plugin](plugin.html) | You must run the plugin command with a related command.
26+
[plugin remove](plugin-remove.html) | Uninstalls a package, completely removing everything npm installed on its behalf.
27+
<% } %>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
plugin remove
2+
==========
3+
4+
Usage | Synopsis
5+
------|-------
6+
General | `$ tns plugin remove <plugin name>`
7+
8+
Uninstalls a plugin by specified plugin name and removes it from project file.
9+
10+
### Attributes
11+
12+
* `<Plugin name>` is the plugin name as described in its package.json file.
13+
14+
### Related Commands
15+
16+
Command | Description
17+
----------|----------
18+
[library](library.html) | You must run the library command with a related command.
19+
[plugin](plugin.html) | You must run the plugin command with a related command.
20+
[plugin add](plugin-add.html) | Installs a plugin and any packages that it depends on.
21+
<% } %>
+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
plugin
2+
==========
3+
4+
Usage | Synopsis
5+
---|---
6+
General | `$ tns plugin <Command>`
7+
8+
Lists all installed plugins for your project.
9+
10+
### Attributes
11+
`<Command>` extends the `plugin` command. You can set the following values for this attribute.
12+
* `add` - Installs a plugin and any packages that it depends on.
13+
* `remove` - Uninstalls a package, completely removing everything npm installed on its behalf.
14+
15+
<% if(isHtml) { %>
16+
### Related Commands
17+
18+
Command | Description
19+
----------|----------
20+
[library](library.html) | You must run the library command with a related command.
21+
[library add](library-add.html) | Adds a native library to the current project.
22+
[plugin add](plugin-add.html) | Installs a plugin and any packages that it depends on.
23+
[plugin remove](plugin-remove.html) | Uninstalls a package, completely removing everything npm installed on its behalf.
24+
<% } %>

0 commit comments

Comments
 (0)