Adding download command.
diff --git a/README.md b/README.md
index f77013c..dc3d6a7 100644
--- a/README.md
+++ b/README.md
@@ -10,9 +10,11 @@
- build a content package form a local folder
- upload a content package onto a server
+- download a content package from server
- install a content package on a server
- list all installed packages on the server
- uninstall a content package from the server
+- build a content package on the server
- delete a content package on the server
For an example project using the `slingpackager` please have a look at the [simple-sling-vue-example](https://github.com/peregrine-cms/simple-sling-vue-example) project.
@@ -47,6 +49,7 @@
Commands:
slingpackager build <package> build package on server
slingpackager delete <package> delete package on server
+ slingpackager download <package> download package from server
slingpackager install <package> install package on server
slingpackager list list installed packages
slingpackager package <folder> create a package
@@ -152,6 +155,26 @@
--install, -i install the package after it's uploaded
```
+### Download
+
+```
+slingpackager download <package>
+
+download package from server
+
+Options:
+ --version Show version number [boolean]
+ --help Show help [boolean]
+ --server, -s server url [default: "http://localhost:8080"]
+ --user, -u server credentials in the form username:password
+ [default: "admin:admin"]
+ --retry, -r maximum number of service calls to attempt before failing
+ [default: 10]
+ --verbose, -v turn on verbose output [boolean] [default: false]
+ --destination, -d Package destination directory. Defaults to current
+ directory.
+```
+
### Install
```
@@ -270,6 +293,11 @@
...
```
+#### Download package.
+```
+slingpackager download /themeclean-flex/ui.apps-1.0-SNAPSHOT.zip
+```
+
#### Install uploaded package.
```
slingpackager install /themeclean-flex/ui.apps-1.0-SNAPSHOT.zip