Skip to content

Commit 5108cc1

Browse files
committed
Updated documentation and corrected JSON formatting
1 parent 5b3f60e commit 5108cc1

File tree

3 files changed

+18
-5
lines changed

3 files changed

+18
-5
lines changed

README.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ adapt search {name or partial name of plugin to search for}
3535

3636
##### Installing a plugin into your current directory
3737
```
38+
adapt install
39+
```
40+
When run without arguments this command looks for the `adapt.json` manifest. The command will attempt to install all plugins that it lists, prefering the latest compatible version of each. Run `adapt help install` for more information. To install specific plugins provide the names as a space separated list:
41+
```
3842
adapt install {name of plugin}
3943
```
4044
Additionally you can install a specific version of a plugin.
@@ -48,12 +52,20 @@ Therefore these commands are equivalent:
4852
adapt install adapt-my-plugin
4953
adapt install my-plugin
5054
```
51-
Installed plugins are saved to `adapt.json`.
5255

53-
##### Installing plugins previously saved in adapt.json
56+
##### Updating plugins
5457
```
55-
adapt install
58+
adapt update
59+
```
60+
When run without arguments this command attempts to update all installed plugins to their latest compatible versions. To update specific plugins provide the names as a space separated list:
61+
```
62+
adapt update {name of plugin}
63+
```
64+
You can also update specific plugins groups:
65+
```
66+
adapt update components extensions
5667
```
68+
Run `adapt help update` for more information.
5769

5870
##### Uninstalling a plugin from your current directory
5971
```
@@ -107,6 +119,7 @@ The package will be renamed if the authenticated user is a collaborator on the e
107119

108120
Release History
109121
===============
122+
- 2.1.2 - Updated documentation and corrected JSON formatting
110123
- 2.1.1 - Integrated PR 48 and fixed issue with adapt create command
111124
- 2.1.0 - Fully updated update and install commands
112125
- 2.0.7 - Added update command, rewritten install command and updated dependencies; targetting Node v8+

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.1.1
1+
2.1.2

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "adapt-cli",
3-
"version": "2.1.1",
3+
"version": "2.1.2",
44
"description": "Command line tools for Adapt",
55
"main": "./lib/cli.js",
66
"directories": {

0 commit comments

Comments
 (0)